Skip to content

Commit

Permalink
reduce parralelism to limit memory usage.
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianHuc committed Oct 11, 2024
1 parent adf60bc commit d6535db
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/reference-blockchain-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ jobs:
timeout-minutes: 180
continue-on-error: true
env:
REFERENCE_TESTS_PARALLELISM: 20
REFERENCE_TESTS_PARALLELISM: 12
JAVA_OPTS: -Dorg.gradle.daemon=false
CORSET_FLAGS: disable
GOCORSET_FLAGS: -wd --ansi-escapes=false --report --air
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ public void resolveAtContextReEntry(Hub hub, CallFrame callFrame) {
super.resolveAtContextReEntry(hub, callFrame);

// sanity check
checkArgument(!callSuccess || sixthOobCall.isRamSuccess());
checkArgument(callSuccess == sixthOobCall.isRamSuccess());

if (!callSuccess) {
precompileScenarioFragment.scenario(PRC_FAILURE_KNOWN_TO_RAM);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ public static Map<String, Set<String>> extractConstraints(String message) {
public static void writeToJsonFile(int count) {
try {
String directory = setFileDirectory();
log.info("Reference test will be written to file {}\\{}", directory, JSON_OUTPUT_FILENAME);
log.info("Reference test will be written to file {} \\ {}", directory, JSON_OUTPUT_FILENAME);
writeToJsonFile(JSON_OUTPUT_FILENAME+"_"+count);
log.info("Reference test results written to file {}", JSON_OUTPUT_FILENAME);
log.info(
Expand All @@ -148,7 +148,7 @@ public static void writeToJsonFile(int count) {
@Synchronized
public static CompletableFuture<Void> writeToJsonFile(String name) {
String fileDirectory = setFileDirectory();
log.info("writing results summary to {}", fileDirectory);
log.info("writing results summary to {}", fileDirectory + "/" + name);
String jsonString = jsonConverter.toJson(testOutcomes);
log.info(jsonString);
return CompletableFuture.runAsync(
Expand Down

0 comments on commit d6535db

Please sign in to comment.