forked from solana-labs/solana
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add partial network outage before test functionality (solana-labs#17291)
* Add partial network outage before testing functionality Allow a percentage of the stake to go offline before an automation test starts * code review fixes
- Loading branch information
1 parent
a350241
commit e3f5c00
Showing
4 changed files
with
68 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
system-test/partition-testcases/gce-partition-with-offline.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
steps: | ||
- command: "system-test/testnet-automation.sh" | ||
label: "GCE - CPU Only 5 Node - 20% network offline with 2 partitions" | ||
env: | ||
UPLOAD_RESULTS_TO_SLACK: "true" | ||
CLOUD_PROVIDER: "gce" | ||
TESTNET_TAG: "gce-perf-cpu-only" | ||
NUMBER_OF_VALIDATOR_NODES: 4 | ||
ENABLE_GPU: "false" | ||
VALIDATOR_NODE_MACHINE_TYPE: "--machine-type n1-standard-16" | ||
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" | ||
ADDITIONAL_FLAGS: "--dedicated" | ||
APPLY_PARTITIONS: "true" | ||
NETEM_CONFIG_FILE: "system-test/netem-configs/complete-loss-two-partitions" | ||
PARTITION_ACTIVE_DURATION: 30 | ||
PARTITION_INACTIVE_DURATION: 30 | ||
PARTITION_ITERATION_COUNT: 5 | ||
TEST_TYPE: "partition" | ||
EXTRA_PRIMORDIAL_STAKES: 4 | ||
WAIT_FOR_EQUAL_STAKE: "true" | ||
WARMUP_SLOTS_BEFORE_TEST: 400 | ||
NUMBER_OF_OFFLINE_NODES: 1 | ||
agents: | ||
- "queue=gce-deploy" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters