Skip to content

Commit aec8a7f

Browse files
committed
Update IoTDBPipeDataSinkIT.java
1 parent 4854c40 commit aec8a7f

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

integration-test/src/test/java/org/apache/iotdb/pipe/it/dual/treemodel/auto/basic/IoTDBPipeDataSinkIT.java

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,6 @@ public void testThriftSinkWithRealtimeFirstDisabled() throws Exception {
106106

107107
Assert.assertEquals(TSStatusCode.SUCCESS_STATUS.getStatusCode(), status.getCode());
108108

109-
Assert.assertEquals(
110-
TSStatusCode.SUCCESS_STATUS.getStatusCode(), client.startPipe("testPipe").getCode());
111-
112109
// Do not fail if the failure has nothing to do with pipe
113110
// Because the failures will randomly generate due to resource limitation
114111
TestUtils.executeNonQueries(
@@ -173,9 +170,6 @@ private void testSinkFormat(final String format) throws Exception {
173170
.setProcessorAttributes(processorAttributes))
174171
.getCode());
175172

176-
Assert.assertEquals(
177-
TSStatusCode.SUCCESS_STATUS.getStatusCode(), client.startPipe("testPipe").getCode());
178-
179173
// Do not fail if the failure has nothing to do with pipe
180174
// Because the failures will randomly generate due to resource limitation
181175
TestUtils.executeNonQueries(
@@ -237,9 +231,6 @@ public void testLegacySink() throws Exception {
237231

238232
try (final SyncConfigNodeIServiceClient client =
239233
(SyncConfigNodeIServiceClient) senderEnv.getLeaderConfigNodeConnection()) {
240-
Assert.assertEquals(
241-
TSStatusCode.SUCCESS_STATUS.getStatusCode(), client.startPipe("testPipe").getCode());
242-
243234
// Do not fail if the failure has nothing to do with pipe
244235
// Because the failures will randomly generate due to resource limitation
245236
TestUtils.executeNonQueries(
@@ -417,9 +408,6 @@ private void testReceiverLoadTsFile(final String loadTsFileStrategy) throws Exce
417408
.setProcessorAttributes(processorAttributes))
418409
.getCode());
419410

420-
Assert.assertEquals(
421-
TSStatusCode.SUCCESS_STATUS.getStatusCode(), client.startPipe("testPipe").getCode());
422-
423411
// Do not fail if the failure has nothing to do with pipe
424412
// Because the failures will randomly generate due to resource limitation
425413
TestUtils.executeNonQueries(
@@ -513,9 +501,6 @@ private void testLoadTsFileWithoutVerify(final String loadTsFileStrategy) throws
513501
.setProcessorAttributes(processorAttributes))
514502
.getCode());
515503

516-
Assert.assertEquals(
517-
TSStatusCode.SUCCESS_STATUS.getStatusCode(), client.startPipe("testPipe").getCode());
518-
519504
TestUtils.executeNonQueries(
520505
senderEnv,
521506
Arrays.asList("insert into root.vehicle.d0(time, s1) values (2, 1)", "flush"),

0 commit comments

Comments
 (0)