Skip to content

Commit

Permalink
Pipe IT: Modify the forwarding-pipe-requests configuration of Double …
Browse files Browse the repository at this point in the history
…Living IT (#14240)
  • Loading branch information
luoluoyuyu authored Nov 29, 2024
1 parent 87dc2ca commit 6eb576c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -648,7 +648,8 @@ public void testDoubleLiving() throws Exception {
final Map<String, String> connectorAttributes = new HashMap<>();

// Add this property to avoid to make self cycle.
connectorAttributes.put("source.forwarding-pipe-requests", "false");
extractorAttributes.put("source.forwarding-pipe-requests", "false");

connectorAttributes.put("connector", "iotdb-thrift-connector");
connectorAttributes.put("connector.batch.enable", "false");
connectorAttributes.put("connector.ip", receiverIp);
Expand Down Expand Up @@ -691,7 +692,8 @@ public void testDoubleLiving() throws Exception {
final Map<String, String> connectorAttributes = new HashMap<>();

// Add this property to avoid to make self cycle.
connectorAttributes.put("source.forwarding-pipe-requests", "false");
extractorAttributes.put("source.forwarding-pipe-requests", "false");

connectorAttributes.put("connector", "iotdb-thrift-connector");
connectorAttributes.put("connector.batch.enable", "false");
connectorAttributes.put("connector.ip", senderIp);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,8 @@ public void testDoubleLiving() throws Exception {

// Add this property to avoid to make self cycle.
extractorAttributes.put("capture.table", "true");
connectorAttributes.put("source.forwarding-pipe-requests", "false");
extractorAttributes.put("forwarding-pipe-requests", "false");

connectorAttributes.put("connector", "iotdb-thrift-connector");
connectorAttributes.put("connector.batch.enable", "false");
connectorAttributes.put("connector.ip", receiverIp);
Expand Down Expand Up @@ -600,7 +601,8 @@ public void testDoubleLiving() throws Exception {
// Add this property to avoid to make self cycle.
extractorAttributes.put("capture.table", "true");
extractorAttributes.put("capture.tree", "true");
connectorAttributes.put("source.forwarding-pipe-requests", "false");
extractorAttributes.put("forwarding-pipe-requests", "false");

connectorAttributes.put("connector", "iotdb-thrift-connector");
connectorAttributes.put("connector.batch.enable", "false");
connectorAttributes.put("connector.ip", senderIp);
Expand Down

0 comments on commit 6eb576c

Please sign in to comment.