[1.0.2 -> main] Split long running tests into multiple parts so that they can finish within CICD time limits #797
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Forwards #794
wasm_config_part1
,wasm_config_part2
,wasm_part3
, andsnapshot_unit_test
failed in a recent CICD https://github.com/AntelopeIO/spring/actions/runs/10833286823/job/30060475412#step:5:4182 due to exceeding time limits.The PR splits the tests evenly into smaller multiple parts such that they can finish within time limits.
Before the PR,
wasm_config
tests had 3 uneven parts:After the PR:
Before the PR,
snapshot
test took:1/1 Test #175: snapshot_unit_test_eos-vm-oc ....... Passed 198.62 sec
After the PR, it is split into 2 parts:
Before the PR,
memory_mapping_test
inwasm_tests
deployed 5,000 contracts and run in 250 seconds. It is not necessary. The PR reduces it to 2,000 contracts; the running time is now 100 seconds.#770