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

Skip blockchain tests with high memory usage #1414

Merged
merged 2 commits into from
Oct 15, 2024
Merged
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
11 changes: 9 additions & 2 deletions .github/workflows/reference-blockchain-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:
timeout-minutes: 180
continue-on-error: true
env:
REFERENCE_TESTS_PARALLELISM: 8
REFERENCE_TESTS_PARALLELISM: 7
JAVA_OPTS: -Dorg.gradle.daemon=false
CORSET_FLAGS: disable
GOCORSET_FLAGS: -wd --ansi-escapes=false --report --air
Expand All @@ -92,4 +92,11 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: failedBlockchainReferenceTests.json
path: ${{ github.workspace }}/tmp/${{ steps.extract_branch.outputs.branch }}/
path: ${{ github.workspace }}/tmp/${{ steps.extract_branch.outputs.branch }}/

- name: Upload test report
if: always()
uses: actions/upload-artifact@v4
with:
name: blockchain-refrence-tests-report
path: reference-tests/build/reports/tests/**/*
1 change: 1 addition & 0 deletions gradle/tests.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ tasks.withType(Test).configureEach {

jvmArgs = [
'-XX:-UseGCOverheadLimit',
'-XX:+PrintGC',
// Mockito and jackson-databind do some strange reflection during tests.
// This suppresses an illegal access warning.
'--add-opens',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,9 @@ public class BlockchainReferenceTestTools {
PARAMS.ignore("static_Call1MB1024Calldepth_d1g0v0_\\w+");
PARAMS.ignore("ShanghaiLove_.*");
PARAMS.ignore("/GeneralStateTests/VMTests/vmPerformance/");
PARAMS.ignore("Call50000");
PARAMS.ignore("static_LoopCallsDepthThenRevert3");
PARAMS.ignore("Return50000");

// Absurd amount of gas, doesn't run in parallel.
PARAMS.ignore("randomStatetest94_\\w+");
Expand Down
Loading