Skip to content

MINOR: improve tests for TopologyTestDriver#8631

Merged
mjsax merged 2 commits into
apache:trunkfrom
mjsax:minor-follow-up-to-kafka-9865
May 12, 2020
Merged

MINOR: improve tests for TopologyTestDriver#8631
mjsax merged 2 commits into
apache:trunkfrom
mjsax:minor-follow-up-to-kafka-9865

Conversation

@mjsax

@mjsax mjsax commented May 8, 2020

Copy link
Copy Markdown
Member

Follow up to #8483 (in particular #8483 (comment))

Call for review @big-andy-coates @vvcephei

@mjsax mjsax added streams tests Test fixes (including flaky tests) labels May 8, 2020

@vvcephei vvcephei left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, @mjsax . LGTM!

@mjsax

mjsax commented May 8, 2020

Copy link
Copy Markdown
Member Author

Java 8 passed.
Java 11 and 14 failed (test results are not available any longer).

Retest this please.

@mjsax

mjsax commented May 8, 2020

Copy link
Copy Markdown
Member Author

Retest this please. (Ok. Maybe next week...)

@mjsax

mjsax commented May 12, 2020

Copy link
Copy Markdown
Member Author

Retest this please

@big-andy-coates big-andy-coates left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @mjsax LGTM

}

@Test
public void shouldCaptureGlobalTopicNameIfWrittenInto() {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would this test still pass, even without the global table?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, the SOURCE_TOPCI_1 should be added to the set of produced topics in any case. It's more like a "reverse" check, i.e., that it does not fail with a to() operation that reuses the "global topic name".

I was not 100% sure if this test is strictly necessary, but thought it can't hurt either.

@mjsax
mjsax merged commit c9dc0cd into apache:trunk May 12, 2020
@mjsax
mjsax deleted the minor-follow-up-to-kafka-9865 branch May 12, 2020 22:10
Kvicii added a commit to Kvicii/kafka that referenced this pull request May 14, 2020
* 'trunk' of github.com:apache/kafka:
  MINOR: add option to rebuild source for system tests (apache#6656)
  KAFKA-9850 Move KStream#repartition operator validation during Topolo… (apache#8550)
  MINOR: Add a duplicate() method to Message classes (apache#8556)
  KAFKA-9966: add internal assignment listener to stabilize eos-beta upgrade test (apache#8648)
  MINOR: Replace null with an actual value for timestamp field in InsertField SMT unit tests (apache#8649)
  MINOR: Fix ProcessorContext JavaDocs and stream-time computation (apache#8603)
  MINOR: improve tests for TopologyTestDriver (apache#8631)
  KAFKA-9821: consolidate Streams rebalance triggering mechanisms (apache#8596)
  KAFKA-9669; Loosen validation of inner offsets for older message formats (apache#8647)
  KAFKA-8770: KIP-557: Drop idempotent KTable source updates (apache#8254)
  MINOR: Remove allow concurrent test (apache#8641)
jwijgerd pushed a commit to buxapp/kafka that referenced this pull request May 14, 2020
Reviewers: John Roesler <john@confluent.io>, Andy Coates <andy@confluent.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

streams tests Test fixes (including flaky tests)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants