Skip to content

Commit a43707a

Browse files
authored
[To dev/1.3] Stabilize air-gap batch compression IT (#18492)
1 parent f9723ae commit a43707a

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎integration-test/src/test/java/org/apache/iotdb/pipe/it/autocreate/IoTDBPipeSinkCompressionIT.java‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,8 @@ private void doTest(
137137
TestUtils.executeNonQueryWithRetry(senderEnv, "flush");
138138
TestUtils.executeNonQueryWithRetry(receiverEnv, "flush");
139139
};
140+
final Consumer<String> senderOnlyFailure =
141+
o -> TestUtils.executeNonQueryWithRetry(senderEnv, "flush");
140142

141143
try (final SyncConfigNodeIServiceClient client =
142144
(SyncConfigNodeIServiceClient) senderEnv.getLeaderConfigNodeConnection()) {
@@ -198,7 +200,7 @@ private void doTest(
198200
"select count(*) from root.**",
199201
"count(root.db.d1.s1),",
200202
Collections.singleton("8,"),
201-
handleFailure);
203+
senderOnlyFailure);
202204
}
203205
}
204206

0 commit comments

Comments
 (0)