KAFAK-3522: Add TopologyTestDriver unit tests#6179
Conversation
|
Need to find some time to rebase this PR... Will ping you when it's ready. Thanks for following up. |
9d41589 to
cf2f19e
Compare
There was a problem hiding this comment.
Just reordering to "correct" position in alignment to the order of the other method.
|
Java11 failed with env issue. Java8 passed. Not triggering retest as Java11 seems to be broken. |
There was a problem hiding this comment.
nit: I'm having a hard time maintaining a clear mental picture of what the expected result looks like as this test progresses. Can you consider using a literal list for each processKeyValueAndVerifyPlainCount instead?
|
Updated this |
There was a problem hiding this comment.
nit: do we want to add an assertion assertThat(store, instanceOf(TimestampedKeyValueStore.class)) here?
There was a problem hiding this comment.
nit: do we want to add an assertion
assertThat(store, not(instanceOf(TimestampedKeyValueStore.class))); here?
There was a problem hiding this comment.
typo in the test name? Looks to me it should be shouldNotFindTimestampedKeyValueStores
There was a problem hiding this comment.
The test name is actually correct, but the test is broken in this version. Rebasing based on #6661 fixed the issue.
a06f488 to
a13bb7d
Compare
|
Rebase to resolve merge conflicts. Also address latest Github comments. Added new test for in-memory store upgrades. Those fail atm, exposing the bug as fixed in #6667 (comment) Jenkins is expected to fail -- need to rebase this after #6667 is merged |
|
retest this please |
|
@guozhangwang I need to rebase this first... Test are expected to fail atm. |
a13bb7d to
846ecb4
Compare
|
Rebased this. Call for review. |
|
Java 8 passed, Java 11 failed with retest this please |
| final String timestampedWindowStoreName = "windowTimestampStore"; | ||
| final String sessionStoreName = "sessionStore"; | ||
| final String globalKeyValueStoreName = "globalKeyValueStore"; | ||
| final String globalTimestampedKeyValueStoreName = "globalKeyValueTimestampStore"; |
There was a problem hiding this comment.
one small nit: should this test include in-memory stores?
|
retest this please |
Reviewers: John Roesler <john@confluent.io>, Bill Bejeck <bill@confluent.io>
Part of KIP-258.