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 for SNP code_update_test #6787

Merged
merged 12 commits into from
Jan 31, 2025
2 changes: 1 addition & 1 deletion .azure-pipelines-templates/deploy_aci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ jobs:
set -ex
cd /CCF/build
npm config set cache /ccfci/workspace_$(Build.BuildNumber)/.npm
WORKSPACE=/ccfci/workspace_$(Build.BuildNumber) ELECTION_TIMEOUT_MS=10000 ./tests.sh -VV -T Test -LE "benchmark|tlstest|suite|snp_flaky" -E "lts_compatibility"
WORKSPACE=/ccfci/workspace_$(Build.BuildNumber) ELECTION_TIMEOUT_MS=10000 ./tests.sh -VV -T Test -R code_update
eddyashton marked this conversation as resolved.
Show resolved Hide resolved
# Remove irrelevant and bulky data from workspace before uploading
find /ccfci/workspace_$(Build.BuildNumber) -type f -name cchost -delete
find /ccfci/workspace_$(Build.BuildNumber) -type f -name "*.so" -delete
Expand Down
4 changes: 3 additions & 1 deletion tests/code_update.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,9 @@ def test_verify_quotes(network, args):
)

# Quick API validation - confirm that all of these /quotes/self entries match the collection returned from /quotes
assert j in all_quotes
assert (
j in all_quotes
), f"Didn't find {node.node_id}'s quote in collection\n{j}\n{json.dumps(all_quotes)}"

return network

Expand Down