Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ private KafkaStreams buildStreamWithDirtyStateDir(final String stateDirPath,
@Test
@Deprecated
public void shouldWipeOutStandbyStateDirectoryIfCheckpointIsMissing() throws Exception {
final long time = System.currentTimeMillis();
final String base = TestUtils.tempDirectory(appId).getPath();

IntegrationTestUtils.produceKeyValuesSynchronouslyWithTimestamp(
Expand All @@ -189,7 +190,7 @@ public void shouldWipeOutStandbyStateDirectoryIfCheckpointIsMissing() throws Exc
IntegerSerializer.class,
new Properties()
),
10L
10L + time
);

try (
Expand Down Expand Up @@ -248,7 +249,7 @@ public void shouldWipeOutStandbyStateDirectoryIfCheckpointIsMissing() throws Exc
IntegerSerializer.class,
new Properties()
),
10L
10L + time
);
waitForCondition(
() -> streamInstanceOne.state() == KafkaStreams.State.ERROR,
Expand Down Expand Up @@ -307,7 +308,7 @@ public void shouldWipeOutStandbyStateDirectoryIfCheckpointIsMissing() throws Exc
IntegerSerializer.class,
new Properties()
),
10L
10L + time
);
waitForCondition(
() -> streamInstanceOneRecovery.state() == KafkaStreams.State.ERROR,
Expand Down