Skip to content

Commit 6eb576c

Browse files
authored
Pipe IT: Modify the forwarding-pipe-requests configuration of Double Living IT (apache#14240)
1 parent 87dc2ca commit 6eb576c

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -648,7 +648,8 @@ public void testDoubleLiving() throws Exception {
648648
final Map<String, String> connectorAttributes = new HashMap<>();
649649

650650
// Add this property to avoid to make self cycle.
651-
connectorAttributes.put("source.forwarding-pipe-requests", "false");
651+
extractorAttributes.put("source.forwarding-pipe-requests", "false");
652+
652653
connectorAttributes.put("connector", "iotdb-thrift-connector");
653654
connectorAttributes.put("connector.batch.enable", "false");
654655
connectorAttributes.put("connector.ip", receiverIp);
@@ -691,7 +692,8 @@ public void testDoubleLiving() throws Exception {
691692
final Map<String, String> connectorAttributes = new HashMap<>();
692693

693694
// Add this property to avoid to make self cycle.
694-
connectorAttributes.put("source.forwarding-pipe-requests", "false");
695+
extractorAttributes.put("source.forwarding-pipe-requests", "false");
696+
695697
connectorAttributes.put("connector", "iotdb-thrift-connector");
696698
connectorAttributes.put("connector.batch.enable", "false");
697699
connectorAttributes.put("connector.ip", senderIp);

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,8 @@ public void testDoubleLiving() throws Exception {
561561

562562
// Add this property to avoid to make self cycle.
563563
extractorAttributes.put("capture.table", "true");
564-
connectorAttributes.put("source.forwarding-pipe-requests", "false");
564+
extractorAttributes.put("forwarding-pipe-requests", "false");
565+
565566
connectorAttributes.put("connector", "iotdb-thrift-connector");
566567
connectorAttributes.put("connector.batch.enable", "false");
567568
connectorAttributes.put("connector.ip", receiverIp);
@@ -600,7 +601,8 @@ public void testDoubleLiving() throws Exception {
600601
// Add this property to avoid to make self cycle.
601602
extractorAttributes.put("capture.table", "true");
602603
extractorAttributes.put("capture.tree", "true");
603-
connectorAttributes.put("source.forwarding-pipe-requests", "false");
604+
extractorAttributes.put("forwarding-pipe-requests", "false");
605+
604606
connectorAttributes.put("connector", "iotdb-thrift-connector");
605607
connectorAttributes.put("connector.batch.enable", "false");
606608
connectorAttributes.put("connector.ip", senderIp);

0 commit comments

Comments
 (0)