File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
framework/examples/myproject Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 2020 strategy :
2121 matrix :
2222 config-test :
23+ - config-file : smoke.toml
24+ test-name : TestSmoke
2325 - config-file : load.toml
2426 test-name : TestLoad
2527 - config-file : chaos.toml
Original file line number Diff line number Diff line change 99 ns "github.com/smartcontractkit/chainlink-testing-framework/framework/components/simple_node_set"
1010 "github.com/stretchr/testify/require"
1111 "testing"
12- "time"
1312)
1413
1514type CfgChaos struct {
@@ -36,10 +35,8 @@ func TestChaos(t *testing.T) {
3635 // example commands for Pumba:
3736 // stop --duration=1s --restart re2:node0 # stop one container for 1s and restart
3837 // "netem --tc-image=gaiadocker/iproute2 --duration=1m delay --time=300 re2:node.* # slow network
39- _ , err = chaos .ExecPumba ("stop --duration=10s --restart re2:node0" )
38+ _ , err = chaos .ExecPumba ("stop --duration=1s --restart re2:node0" )
4039 require .NoError (t , err )
41- time .Sleep (15 * time .Second )
42- // we need to reconnect since we've rebooted some containers
4340 _ , _ , err = c [0 ].ReadBridges ()
4441 require .NoError (t , err )
4542 })
You can’t perform that action at this time.
0 commit comments