From 22f8da29e094af34236cca450d806f8e8bab5ff6 Mon Sep 17 00:00:00 2001 From: Ashwin Sekar Date: Tue, 10 Aug 2021 13:42:16 -0700 Subject: [PATCH] Use public IP addresses for 2 partition gce test (#19135) --- system-test/partition-testcases/gce-5-node-3-partition.yml | 3 ++- .../gce-5-node-single-region-2-partitions.yml | 1 + .../partition-testcases/gce-partition-once-then-stabilize.yml | 3 ++- system-test/partition-testcases/gce-partition-with-offline.yml | 3 ++- 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/system-test/partition-testcases/gce-5-node-3-partition.yml b/system-test/partition-testcases/gce-5-node-3-partition.yml index 2a4dfb156a..470a2defca 100755 --- a/system-test/partition-testcases/gce-5-node-3-partition.yml +++ b/system-test/partition-testcases/gce-5-node-3-partition.yml @@ -11,7 +11,8 @@ steps: NUMBER_OF_CLIENT_NODES: 1 CLIENT_OPTIONS: "bench-tps=1=--tx_count 10000 --thread-batch-sleep-ms 250" TESTNET_ZONES: "us-west1-a" - USE_PUBLIC_IP_ADDRESSES: "true" + USE_PUBLIC_IP_ADDRESSES: "false" + ALLOW_PRIVATE_ADDR: "true" ADDITIONAL_FLAGS: "--dedicated" APPLY_PARTITIONS: "true" NETEM_CONFIG_FILE: "system-test/netem-configs/partial-loss-three-partitions" diff --git a/system-test/partition-testcases/gce-5-node-single-region-2-partitions.yml b/system-test/partition-testcases/gce-5-node-single-region-2-partitions.yml index ae9ff6f1d7..8c185836d3 100755 --- a/system-test/partition-testcases/gce-5-node-single-region-2-partitions.yml +++ b/system-test/partition-testcases/gce-5-node-single-region-2-partitions.yml @@ -12,6 +12,7 @@ steps: CLIENT_OPTIONS: "bench-tps=1=--tx_count 5000 --thread-batch-sleep-ms 250" TESTNET_ZONES: "us-west1-a" USE_PUBLIC_IP_ADDRESSES: "false" + ALLOW_PRIVATE_ADDR: "true" ADDITIONAL_FLAGS: "--dedicated" APPLY_PARTITIONS: "true" NETEM_CONFIG_FILE: "system-test/netem-configs/complete-loss-two-partitions" diff --git a/system-test/partition-testcases/gce-partition-once-then-stabilize.yml b/system-test/partition-testcases/gce-partition-once-then-stabilize.yml index 264231fe5c..5c29a18fb2 100755 --- a/system-test/partition-testcases/gce-partition-once-then-stabilize.yml +++ b/system-test/partition-testcases/gce-partition-once-then-stabilize.yml @@ -11,7 +11,8 @@ steps: NUMBER_OF_CLIENT_NODES: 1 CLIENT_OPTIONS: "bench-tps=1=--tx_count 10000 --thread-batch-sleep-ms 250" TESTNET_ZONES: "us-west1-a" - USE_PUBLIC_IP_ADDRESSES: "true" + USE_PUBLIC_IP_ADDRESSES: "false" + ALLOW_PRIVATE_ADDR: "true" ADDITIONAL_FLAGS: "--dedicated" APPLY_PARTITIONS: "true" NETEM_CONFIG_FILE: "system-test/netem-configs/partial-loss-three-partitions" diff --git a/system-test/partition-testcases/gce-partition-with-offline.yml b/system-test/partition-testcases/gce-partition-with-offline.yml index 85f1882691..04954b4107 100755 --- a/system-test/partition-testcases/gce-partition-with-offline.yml +++ b/system-test/partition-testcases/gce-partition-with-offline.yml @@ -11,7 +11,8 @@ steps: NUMBER_OF_CLIENT_NODES: 1 CLIENT_OPTIONS: "bench-tps=1=--tx_count 10000 --thread-batch-sleep-ms 250" TESTNET_ZONES: "us-west1-a" - USE_PUBLIC_IP_ADDRESSES: "true" + USE_PUBLIC_IP_ADDRESSES: "false" + ALLOW_PRIVATE_ADDR: "true" ADDITIONAL_FLAGS: "--dedicated" APPLY_PARTITIONS: "true" NETEM_CONFIG_FILE: "system-test/netem-configs/complete-loss-two-partitions"