Skip to content

Commit 307cd58

Browse files
committed
Pipe: Add parameter check for forwarding-pipe-requests
1 parent 9eca275 commit 307cd58

File tree

11 files changed

+41
-0
lines changed

11 files changed

+41
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232

3333
import org.junit.Assert;
3434
import org.junit.Before;
35+
import org.junit.Ignore;
3536
import org.junit.Test;
3637
import org.junit.experimental.categories.Category;
3738
import org.junit.runner.RunWith;
@@ -76,6 +77,7 @@ public void setUp() {
7677
receiverEnv.initClusterEnvironment();
7778
}
7879

80+
@Ignore
7981
@Test
8082
public void testDoubleLivingAutoConflict() throws Exception {
8183
// Double living is two clusters each with a pipe connecting to the other.
@@ -225,6 +227,7 @@ public void testDoubleLivingAutoConflict() throws Exception {
225227
receiverEnv, "select * from root.**", "Time,root.db.d1.s1,", expectedResSet);
226228
}
227229

230+
@Ignore
228231
@Test
229232
public void testDoubleLivingAutoConflictTemplate() throws Exception {
230233
final DataNodeWrapper senderDataNode = senderEnv.getDataNodeWrapper(0);

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232

3333
import org.junit.Assert;
3434
import org.junit.Before;
35+
import org.junit.Ignore;
3536
import org.junit.Test;
3637
import org.junit.experimental.categories.Category;
3738
import org.junit.runner.RunWith;
@@ -43,6 +44,7 @@
4344
import java.util.Map;
4445
import java.util.Set;
4546

47+
@Ignore
4648
@RunWith(IoTDBTestRunner.class)
4749
@Category({MultiClusterIT2AutoCreateSchema.class})
4850
public class IoTDBPipeIdempotentIT extends AbstractPipeDualAutoIT {
@@ -370,6 +372,7 @@ public void testRevokeRoleFromUserIdempotent() throws Exception {
370372
Collections.singleton("1,"));
371373
}
372374

375+
@Ignore
373376
@Test
374377
public void testDropUserIdempotent() throws Exception {
375378
testIdempotent(
@@ -381,6 +384,7 @@ public void testDropUserIdempotent() throws Exception {
381384
Collections.singleton("1,"));
382385
}
383386

387+
@Ignore
384388
@Test
385389
public void testDropRoleIdempotent() throws Exception {
386390
testIdempotent(

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
import org.apache.iotdb.rpc.TSStatusCode;
3131

3232
import org.junit.Assert;
33+
import org.junit.Ignore;
3334
import org.junit.Test;
3435
import org.junit.experimental.categories.Category;
3536
import org.junit.runner.RunWith;
@@ -620,6 +621,7 @@ public void testReceiverAlreadyHaveTimeSeries() throws Exception {
620621
}
621622
}
622623

624+
@Ignore
623625
@Test
624626
public void testDoubleLiving() throws Exception {
625627
// Double living is two clusters with pipes connecting each other.

integration-test/src/test/java/org/apache/iotdb/pipe/it/manual/IoTDBPipeManualConflictIT.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
import org.apache.iotdb.rpc.TSStatusCode;
3030

3131
import org.junit.Assert;
32+
import org.junit.Ignore;
3233
import org.junit.Test;
3334
import org.junit.experimental.categories.Category;
3435
import org.junit.runner.RunWith;
@@ -39,6 +40,7 @@
3940
import java.util.HashSet;
4041
import java.util.Map;
4142

43+
@Ignore
4244
@RunWith(IoTDBTestRunner.class)
4345
@Category({MultiClusterIT2ManualCreateSchema.class})
4446
public class IoTDBPipeManualConflictIT extends AbstractPipeDualManualIT {

integration-test/src/test/java/org/apache/iotdb/pipe/it/manual/IoTDBPipeMetaLeaderChangeIT.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232

3333
import org.junit.Assert;
3434
import org.junit.Before;
35+
import org.junit.Ignore;
3536
import org.junit.Test;
3637
import org.junit.experimental.categories.Category;
3738
import org.junit.runner.RunWith;
@@ -66,6 +67,7 @@ public void setUp() {
6667
receiverEnv.initClusterEnvironment();
6768
}
6869

70+
@Ignore
6971
@Test
7072
public void testConfigNodeLeaderChange() throws Exception {
7173
final DataNodeWrapper receiverDataNode = receiverEnv.getDataNodeWrapper(0);
@@ -125,6 +127,7 @@ public void testConfigNodeLeaderChange() throws Exception {
125127
receiverEnv, "count databases", "count,", Collections.singleton("20,"));
126128
}
127129

130+
@Ignore
128131
@Test
129132
public void testSchemaRegionLeaderChange() throws Exception {
130133
final DataNodeWrapper receiverDataNode = receiverEnv.getDataNodeWrapper(0);

integration-test/src/test/java/org/apache/iotdb/pipe/it/manual/IoTDBPipeMetaRestartIT.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
import org.apache.iotdb.rpc.TSStatusCode;
3030

3131
import org.junit.Assert;
32+
import org.junit.Ignore;
3233
import org.junit.Test;
3334
import org.junit.experimental.categories.Category;
3435
import org.junit.runner.RunWith;
@@ -40,6 +41,7 @@
4041
@RunWith(IoTDBTestRunner.class)
4142
@Category({MultiClusterIT2ManualCreateSchema.class})
4243
public class IoTDBPipeMetaRestartIT extends AbstractPipeDualManualIT {
44+
@Ignore
4345
@Test
4446
public void testAutoRestartSchemaTask() throws Exception {
4547
final DataNodeWrapper receiverDataNode = receiverEnv.getDataNodeWrapper(0);
@@ -106,6 +108,7 @@ public void testAutoRestartSchemaTask() throws Exception {
106108
receiverEnv, "count timeseries", "count(timeseries),", Collections.singleton("20,"));
107109
}
108110

111+
@Ignore
109112
@Test
110113
public void testAutoRestartConfigTask() throws Exception {
111114
final DataNodeWrapper receiverDataNode = receiverEnv.getDataNodeWrapper(0);

integration-test/src/test/java/org/apache/iotdb/pipe/it/manual/IoTDBPipeMultiSchemaRegionIT.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
import org.apache.iotdb.rpc.TSStatusCode;
3030

3131
import org.junit.Assert;
32+
import org.junit.Ignore;
3233
import org.junit.Test;
3334
import org.junit.experimental.categories.Category;
3435
import org.junit.runner.RunWith;
@@ -41,6 +42,7 @@
4142
@RunWith(IoTDBTestRunner.class)
4243
@Category({MultiClusterIT2ManualCreateSchema.class})
4344
public class IoTDBPipeMultiSchemaRegionIT extends AbstractPipeDualManualIT {
45+
@Ignore
4446
@Test
4547
public void testMultiSchemaRegion() throws Exception {
4648
final DataNodeWrapper receiverDataNode = receiverEnv.getDataNodeWrapper(0);

integration-test/src/test/java/org/apache/iotdb/pipe/it/tablemodel/IoTDBPipeAutoConflictIT.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333

3434
import org.junit.Assert;
3535
import org.junit.Before;
36+
import org.junit.Ignore;
3637
import org.junit.Test;
3738
import org.junit.experimental.categories.Category;
3839
import org.junit.runner.RunWith;
@@ -76,6 +77,7 @@ public void setUp() {
7677
receiverEnv.initClusterEnvironment();
7778
}
7879

80+
@Ignore
7981
@Test
8082
public void testDoubleLivingAutoConflict() throws Exception {
8183
// Double living is two clusters each with a pipe connecting to the other.
@@ -173,6 +175,7 @@ public void testDoubleLivingAutoConflict() throws Exception {
173175
TableModelUtils.assertData("test", "test1", 0, 600, receiverEnv, handleFailure);
174176
}
175177

178+
@Ignore
176179
@Test
177180
public void testDoubleLivingAutoConflictTemplate() throws Exception {
178181
final DataNodeWrapper senderDataNode = senderEnv.getDataNodeWrapper(0);

integration-test/src/test/java/org/apache/iotdb/pipe/it/tablemodel/IoTDBPipeDataSinkIT.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030

3131
import org.apache.tsfile.write.record.Tablet;
3232
import org.junit.Assert;
33+
import org.junit.Ignore;
3334
import org.junit.Test;
3435
import org.junit.experimental.categories.Category;
3536
import org.junit.runner.RunWith;
@@ -239,6 +240,7 @@ private void testSinkFormat(final String format) throws Exception {
239240
}
240241
}
241242

243+
@Ignore
242244
@Test
243245
public void testWriteBackSink() throws Exception {
244246
try (final SyncConfigNodeIServiceClient client =

integration-test/src/test/java/org/apache/iotdb/pipe/it/tablemodel/IoTDBPipeLifeCycleIT.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -575,6 +575,7 @@ public void testReceiverAlreadyHaveTimeSeries() throws Exception {
575575
}
576576
}
577577

578+
@Ignore
578579
@Test
579580
public void testDoubleLiving() throws Exception {
580581
boolean insertResult = true;

0 commit comments

Comments
 (0)