Skip to content

Commit

Permalink
Proper CCIP chaos tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kalverra committed Oct 9, 2024
1 parent 17d0593 commit 6974202
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1160,7 +1160,7 @@ runner-test-matrix:
- E2E CCIP Chaos Tests
test_cmd: cd integration-tests/ccip-tests/chaos && DETACH_RUNNER=false go test ccip_test.go -v -test.parallel=11 -timeout 60m -count=1 -json
test_env_vars:
TEST_SUITE: chaos
TEST_SUITE: ccip-chaos
TEST_TRIGGERED_BY: ccip-cron-chaos-eth
TEST_LOG_LEVEL: debug

Expand All @@ -1173,7 +1173,7 @@ runner-test-matrix:
# - E2E CCIP Chaos Tests
test_cmd: cd integration-tests/ccip-tests/load && DETACH_RUNNER=false go test -run '^TestLoadCCIPStableWithPodChaosDiffCommitAndExec' -v -test.parallel=4 -timeout 120m -count=1 -json
test_env_vars:
TEST_SUITE: chaos
TEST_SUITE: ccip-chaos
TEST_TRIGGERED_BY: ccip-cron-chaos-eth
TEST_LOG_LEVEL: debug
E2E_TEST_GRAFANA_DASHBOARD_URL: /d/6vjVx-1V8/ccip-long-running-tests
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/ccip-chaos-tests.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: CCIP Chaos Tests
on:
pull_request: # DEBUG: Checking why we're not running properly
workflow_run:
workflows: [ CCIP Load Test ]
types: [ completed ]
Expand Down
5 changes: 5 additions & 0 deletions integration-tests/scripts/buildTests
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@ do
pushd "./ccip-tests/load" && go test -c -tags embed -o ../ ./...
mv ../load.test ../ccip-load.test # rename the binary to match the suite name
popd
elif [ "$x" = "ccip-chaos" ]; then
echo "Changing directory and executing go test -c ./... for 'ccip-chaos' package"
pushd "./ccip-tests/chaos" && go test -c -tags embed -o ../ ./...
mv ../chaos.test ../ccip-chaos.test # rename the binary to match the suite name
popd
else
go test -c -tags embed ./"${x}"
fi
Expand Down

0 comments on commit 6974202

Please sign in to comment.