Added no superminority and isolated node test cases (#9306)

Co-authored-by: Carl <carl@solana.com>
This commit is contained in:
carllin 2020-04-21 15:35:48 -07:00 committed by GitHub
parent bab3502260
commit 111a86f3ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 115 additions and 4 deletions

View File

@ -0,0 +1,70 @@
{
"partitions":[
25,
25,
25,
25
],
"interconnects":[
{
"a":0,
"b":1,
"config":"loss 100%"
},
{
"a":1,
"b":0,
"config":"loss 100%"
},
{
"a":0,
"b":2,
"config":"loss 100%"
},
{
"a":2,
"b":0,
"config":"loss 100%"
},
{
"a":0,
"b":3,
"config":"loss 100%"
},
{
"a":3,
"b":0,
"config":"loss 100%"
},
{
"a":1,
"b":2,
"config":"loss 100%"
},
{
"a":2,
"b":1,
"config":"loss 100%"
},
{
"a":1,
"b":3,
"config":"loss 100%"
},
{
"a":3,
"b":1,
"config":"loss 100%"
},
{
"a":2,
"b":3,
"config":"loss 100%"
},
{
"a":3,
"b":2,
"config":"loss 100%"
}
]
}

View File

@ -8,7 +8,7 @@ steps:
NUMBER_OF_VALIDATOR_NODES: 4
ENABLE_GPU: "false"
NUMBER_OF_CLIENT_NODES: 2
CLIENT_OPTIONS: "bench-tps=2=--tx_count 15000 --thread-batch-sleep-ms 250"
CLIENT_OPTIONS: "bench-tps=2=--tx_count 5000 --thread-batch-sleep-ms 250"
ADDITIONAL_FLAGS: ""
APPLY_PARTITIONS: "true"
NETEM_CONFIG_FILE: "system-test/netem-configs/partial-loss-three-partitions"

View File

@ -0,0 +1,20 @@
steps:
- command: "system-test/testnet-automation.sh"
label: "Colo - CPU Only - Complete Loss 2 - 1 Partition"
env:
UPLOAD_RESULTS_TO_SLACK: "true"
CLOUD_PROVIDER: "colo"
TESTNET_TAG: "colo-perf-cpu-only"
NUMBER_OF_VALIDATOR_NODES: 2
ENABLE_GPU: "false"
NUMBER_OF_CLIENT_NODES: 1
CLIENT_OPTIONS: "bench-tps=1=--tx_count 5000 --thread-batch-sleep-ms 250"
ADDITIONAL_FLAGS: ""
APPLY_PARTITIONS: "true"
NETEM_CONFIG_FILE: "system-test/netem-configs/complete-loss-two-partitions"
PARTITION_ACTIVE_DURATION: 60
PARTITION_INACTIVE_DURATION: 60
PARTITION_ITERATION_COUNT: 10
TEST_TYPE: "partition"
agents:
- "queue=colo-deploy"

View File

@ -8,7 +8,7 @@ steps:
NUMBER_OF_VALIDATOR_NODES: 4
ENABLE_GPU: "false"
NUMBER_OF_CLIENT_NODES: 1
CLIENT_OPTIONS: "bench-tps=1=--tx_count 15000 --thread-batch-sleep-ms 250"
CLIENT_OPTIONS: "bench-tps=1=--tx_count 5000 --thread-batch-sleep-ms 250"
ADDITIONAL_FLAGS: ""
APPLY_PARTITIONS: "true"
NETEM_CONFIG_FILE: "system-test/netem-configs/partial-loss-three-partitions"

View File

@ -0,0 +1,21 @@
steps:
- command: "system-test/testnet-automation.sh"
label: "Colo - CPU Only - Complete Loss 4 Partitions"
env:
UPLOAD_RESULTS_TO_SLACK: "true"
CLOUD_PROVIDER: "colo"
TESTNET_TAG: "colo-perf-cpu-only"
NUMBER_OF_VALIDATOR_NODES: 3
ENABLE_GPU: "false"
NUMBER_OF_CLIENT_NODES: 1
CLIENT_OPTIONS: "bench-tps=1=--tx_count 5000 --thread-batch-sleep-ms 250"
ADDITIONAL_FLAGS: ""
APPLY_PARTITIONS: "true"
NETEM_CONFIG_FILE: "system-test/netem-configs/complete-loss-four-partitions"
PARTITION_ACTIVE_DURATION: 60
PARTITION_INACTIVE_DURATION: 60
PARTITION_ITERATION_COUNT: 10
BOOTSTRAP_VALIDATOR_MAX_STAKE_THRESHOLD: 33
TEST_TYPE: "partition"
agents:
- "queue=colo-deploy"

View File

@ -8,7 +8,7 @@ steps:
NUMBER_OF_VALIDATOR_NODES: 3
ENABLE_GPU: "false"
NUMBER_OF_CLIENT_NODES: 1
CLIENT_OPTIONS: "bench-tps=1=--tx_count 15000 --thread-batch-sleep-ms 250"
CLIENT_OPTIONS: "bench-tps=1=--tx_count 5000 --thread-batch-sleep-ms 250"
ADDITIONAL_FLAGS: ""
APPLY_PARTITIONS: "true"
NETEM_CONFIG_FILE: "system-test/netem-configs/partial-loss-three-partitions"

View File

@ -9,7 +9,7 @@ steps:
ENABLE_GPU: "false"
VALIDATOR_NODE_MACHINE_TYPE: "--machine-type n1-standard-16"
NUMBER_OF_CLIENT_NODES: 1
CLIENT_OPTIONS: "bench-tps=1=--tx_count 20000 --thread-batch-sleep-ms 250"
CLIENT_OPTIONS: "bench-tps=1=--tx_count 5000 --thread-batch-sleep-ms 250"
TESTNET_ZONES: "us-west1-a"
USE_PUBLIC_IP_ADDRESSES: "false"
ADDITIONAL_FLAGS: "--dedicated"