reduce reference tests scope (#1398)

Add some Quality of Life changes to reference tests
* ShanghaiLove tests tend to OOM in parallel execution.  Exclude them.
* LegacyTests, as generated code, are not subject to SPDX header checks.

Signed-off-by: Danno Ferrin <danno.ferrin@gmail.com>
pull/1413/head
Danno Ferrin 4 years ago committed by GitHub
parent dc77f99cc6
commit c1f37f857b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      build.gradle
  2. 1
      ethereum/core/src/test/java/org/hyperledger/besu/ethereum/vm/BlockchainReferenceTestTools.java
  3. 1
      ethereum/core/src/test/java/org/hyperledger/besu/ethereum/vm/GeneralStateReferenceTestTools.java

@ -668,7 +668,9 @@ task checkSpdxHeader(type: CheckSpdxHeader) {
excludeRegex = [
"(.*/generalstate/GeneralStateRegressionReferenceTest.*)",
"(.*/generalstate/GeneralStateReferenceTest.*)",
"(.*/generalstate/LegacyGeneralStateReferenceTest.*)",
"(.*/blockchain/BlockchainReferenceTest.*)",
"(.*/blockchain/LegacyBlockchainReferenceTest.*)",
"(.*/.gradle/.*)",
"(.*/.idea/.*)",
"(.*/out/.*)",

@ -71,6 +71,7 @@ public class BlockchainReferenceTestTools {
// Consumes a huge amount of memory
params.ignore("static_Call1MB1024Calldepth_d1g0v0_\\w+");
params.ignore("ShanghaiLove_.*");
// Absurd amount of gas, doesn't run in parallel
params.ignore("randomStatetest94_\\w+");

@ -97,6 +97,7 @@ public class GeneralStateReferenceTestTools {
// Consumes a huge amount of memory
params.ignore("static_Call1MB1024Calldepth-\\w");
params.ignore("ShanghaiLove_.*");
// Don't do time consuming tests
params.ignore("CALLBlake2f_MaxRounds.*");

Loading…
Cancel
Save