-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #233 from Fantom-foundation/rapol/scenarios/b5
B5 (ValsBlackout)
- Loading branch information
Showing
2 changed files
with
18 additions
and
36 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
43 changes: 12 additions & 31 deletions
43
release_testing/b5.ValsBlackout.yml → ...arios/release_testing/b5.ValsBlackout.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 |
---|---|---|
@@ -1,61 +1,42 @@ | ||
# Scenario B5: over 2/3 of validators stop then restart after 5 minutes | ||
# - Set up: start 4 validators, 2 RPC nodes and 2 observers | ||
# - Set up: start 6 validators, 2 RPC nodes and 2 observers | ||
# - Test: process transactions for 5 minutes, then stop 3 validators. Restart the validators again after another 5 minutes passed. | ||
# - Validation: what would happen? | ||
|
||
name: B5 | ||
duration: 610 # 10 minute sim: 5 minutes > stop 3 validators > 5 minutes further > start the stopped 3 validators > 10 seconds grace period | ||
|
||
# backward compatibility, to be removed. | ||
num_validators: 4 | ||
name: B5.ValsBlackout | ||
duration: 900 # 15 minute sim: 5 minutes > stop 3 validators > 5 minutes further > start the stopped 3 validators > 5 minutes | ||
|
||
nodes: | ||
- name: full-validator | ||
- name: static-validator | ||
instances: 2 | ||
timer: | ||
start: 0 | ||
end: 610 | ||
client: | ||
imagename: main | ||
type: validator | ||
|
||
- name: crashing-validator | ||
instances: 3 | ||
instances: 4 | ||
start: 1 | ||
timer: | ||
start: 0 | ||
end: 300 | ||
start: 600 | ||
end: 610 | ||
300: end | ||
600: start | ||
client: | ||
imagename: main | ||
type: validator | ||
|
||
- name: RPC | ||
- name: rpc | ||
instances: 2 | ||
timer: | ||
start: 0 | ||
end: 610 | ||
client: | ||
imagename: main | ||
type: RPC | ||
type: rpc | ||
|
||
- name: observer | ||
instances: 2 | ||
timer: | ||
start: 0 | ||
end: 610 | ||
client: | ||
imagename: main | ||
type: observer | ||
|
||
# In the network there is a single application producing constant load. | ||
applications: | ||
- name: load | ||
type: counter | ||
start: 1 # start time | ||
end: 609 # termination time | ||
end: 899 # termination time | ||
users: 20 # number of users / accounts generating txs | ||
rate: | ||
constant: 100 # Tx/s | ||
|
||
validate: true # what happen? |