Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix load #14269

Closed
wants to merge 10 commits into from
Closed

Fix load #14269

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/ccip-load-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ jobs:
echo ::add-mask::$BASE64_CCIP_CONFIG_OVERRIDE
echo "base_64_override=$BASE64_CCIP_CONFIG_OVERRIDE" >> $GITHUB_OUTPUT
fi
if [[ "${{ github.event_name }}" == "workflow_dispatch" ]]; then
if [[ "${{ github.event_name }}" == "workflow_dispatch" ]] && [[ "$(jq -r '.inputs.base64_test_input' "$GITHUB_EVENT_PATH")" != "" ]]; then
BASE64_CCIP_CONFIG_OVERRIDE=$(jq -r '.inputs.base64_test_input' $GITHUB_EVENT_PATH)
echo ::add-mask::$BASE64_CCIP_CONFIG_OVERRIDE
echo "base_64_override=$BASE64_CCIP_CONFIG_OVERRIDE" >> $GITHUB_OUTPUT
Expand Down Expand Up @@ -188,8 +188,8 @@ jobs:
RR_MEM: 8Gi
RR_CPU: 4
TEST_TRIGGERED_BY: ccip-load-test-ci-${{ matrix.type.name }}
BASE64_CCIP_CONFIG_OVERRIDE: ${{ steps.set_override_config.outputs.base_64_override }},${{ steps.setup_create_base64_config_ccip.outputs.base64_config }}
TEST_BASE64_CCIP_CONFIG_OVERRIDE: ${{ steps.set_override_config.outputs.base_64_override }},${{ steps.setup_create_base64_config_ccip.outputs.base64_config }}
BASE64_CCIP_CONFIG_OVERRIDE: ${{ steps.setup_create_base64_config_ccip.outputs.base64_config }},${{ steps.set_override_config.outputs.base_64_override }}
TEST_BASE64_CCIP_CONFIG_OVERRIDE: ${{ steps.setup_create_base64_config_ccip.outputs.base64_config }},${{ steps.set_override_config.outputs.base_64_override }}
with:
test_command_to_run: cd ./integration-tests/ccip-tests && go test -v -timeout 70m -count=1 -json -run ${{ matrix.type.run }} ./load 2>&1 | tee /tmp/gotest.log | gotestloghelper -ci
test_download_vendor_packages_command: cd ./integration-tests && go mod download
Expand Down
6 changes: 6 additions & 0 deletions integration-tests/scripts/buildTests
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ do
echo "Changing directory and executing go test -c ./... for 'load' package"
pushd "./load" && go test -c -tags embed -o .. ./...
popd
pushd "./ccip-tests/load" && go test -c -tags embed -o ../.. ./...
popd
# elif [ "$x" = "ccip-load" ]; then
# echo "Changing directory and executing go test -c ./... for 'ccip-load' package"
# pushd "./ccip-tests/load" && go test -c -tags embed -o ../.. ./...
# popd
else
go test -c -tags embed ./"${x}"
fi
Expand Down
5 changes: 5 additions & 0 deletions integration-tests/scripts/entrypoint
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,12 @@ cd "$SCRIPT_DIR"/../ || exit 1
# TEST_NAME=${TEST_NAME:=} The specific test to run

# run the tests
#if [ "${SUITE}" = "ccip-load" ]; then
# ls
# ./load.test -test.v -test.count 1 ${ARGS} -test.run ^${TEST_NAME}$
#else
./${SUITE}.test -test.v -test.count 1 ${ARGS} -test.run ^${TEST_NAME}$
#fi

exit_code=$?

Expand Down
Loading