Skip to content

Commit

Permalink
run again
Browse files Browse the repository at this point in the history
  • Loading branch information
skudasov committed Nov 6, 2024
1 parent aa891c5 commit 3aa946c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/framework-golden-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ jobs:
strategy:
matrix:
config-test:
- config-file: smoke.toml
test-name: TestSmoke
- config-file: load.toml
test-name: TestLoad
- config-file: chaos.toml
Expand Down
5 changes: 1 addition & 4 deletions framework/examples/myproject/chaos_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import (
ns "github.com/smartcontractkit/chainlink-testing-framework/framework/components/simple_node_set"
"github.com/stretchr/testify/require"
"testing"
"time"
)

type CfgChaos struct {
Expand All @@ -36,10 +35,8 @@ func TestChaos(t *testing.T) {
// example commands for Pumba:
// stop --duration=1s --restart re2:node0 # stop one container for 1s and restart
// "netem --tc-image=gaiadocker/iproute2 --duration=1m delay --time=300 re2:node.* # slow network
_, err = chaos.ExecPumba("stop --duration=10s --restart re2:node0")
_, err = chaos.ExecPumba("stop --duration=1s --restart re2:node0")
require.NoError(t, err)
time.Sleep(15 * time.Second)
// we need to reconnect since we've rebooted some containers
_, _, err = c[0].ReadBridges()
require.NoError(t, err)
})
Expand Down

0 comments on commit 3aa946c

Please sign in to comment.