Skip to content

Commit

Permalink
Merge pull request #231 from Fantom-foundation/rapol/scenarios/b3
Browse files Browse the repository at this point in the history
B3 (RestartValMidRun)
  • Loading branch information
rpl-ffl authored Aug 16, 2024
2 parents bfd5701 + 1b6fc06 commit 045b60b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 30 deletions.
11 changes: 6 additions & 5 deletions RT.jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ def enableA1 = false
def enableA2 = false
def enableB1 = true
def enableB2 = true
def enableB3 = false
def enableB3 = true
def enableB4 = false
def enableB5 = false
def enableC1 = false
Expand Down Expand Up @@ -169,13 +169,14 @@ pipeline {
}

steps {
build/norma run --label b3 -o . release_testing/b3.RestartValMidRun.yml
build/norma run --label b3 -o . scenarios/release_testing/b3.RestartValMidRun.yml
}

post {
success {
dir('./norma_data_b3_latest') {
archiveArtifacts artifacts: '**'
always {
script {
def artifacts = ["*.yml", "*.csv", "*.log", "*.html"]
uploadArtifacts(artifacts)
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,47 +3,29 @@
# - Test: process transactions for 5 minutes, then then stop a validator and remove it from the validator list.
# - Validation: check list of validator and validate final state of nodes

name: B3
name: B3.RestartValMidRun
duration: 600 # 10 minutes sim: 5 minutes sim > crash > 5 minutes further

# backward compatibility, to be removed.
num_validators: 4

nodes:
- name: validator
- name: genesis-validator
instances: 3
timer:
start: 0
end: 600
client:
imagename: main
type: validator

- name: crashing-validator
timer:
start: 0
killandrestart: 300
end: 600
300: restart
client:
imagename: main
type: validator

- name: RPC
- name: rpc
instances: 2
timer:
start: 0
end: 600
client:
imagename: main
type: RPC
type: rpc

- name: observer
instances: 2
timer:
start: 0
end: 600
client:
imagename: main
type: observer

# In the network there is a single application producing constant load.
Expand All @@ -55,5 +37,3 @@ applications:
users: 20 # number of users / accounts generating txs
rate:
constant: 100 # Tx/s

validate: true # check list of validator and validate final state of nodes?

0 comments on commit 045b60b

Please sign in to comment.