Skip to content

Commit

Permalink
Disable tests which still use too much resource
Browse files Browse the repository at this point in the history
This disable remaining tests which actually still use too much resource
for `go-corset`.  Potentially, we should be considering some kind of
graceful exit when this happens.

Situations where it gets stuck:

(1) Actually reading the trace file.
  • Loading branch information
DavePearce committed Nov 27, 2024
1 parent 09cb0e6 commit 3f33761
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
import static net.consensys.linea.replaytests.ReplayTestTools.replay;
import static net.consensys.linea.testing.ReplayExecutionEnvironment.LINEA_MAINNET;

import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Tag;
import org.junit.jupiter.api.Test;

Expand Down Expand Up @@ -47,6 +48,7 @@ void leos_new_ranges_2362189_2362291() {
replay(LINEA_MAINNET, "2362189-2362291.json.gz");
}

@Disabled("Out-Of-Memory")
@Test
void leos_new_ranges_5002125_5002158() {
replay(LINEA_MAINNET, "5002125-5002158.json.gz");
Expand All @@ -72,6 +74,7 @@ void leos_new_ranges_5006988_5007039() {
replay(LINEA_MAINNET, "5006988-5007039.json.gz");
}

@Disabled("Out-Of-Memory")
@Test
void leos_new_ranges_5012236_5012275() {
replay(LINEA_MAINNET, "5012236-5012275.json.gz");
Expand All @@ -82,6 +85,7 @@ void leos_new_ranges_5025817_5025859() {
replay(LINEA_MAINNET, "5025817-5025859.json.gz");
}

@Disabled("Out-Of-Memory")
@Test
void leos_new_ranges_5037583_5037608() {
replay(LINEA_MAINNET, "5037583-5037608.json.gz");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ public static void checkTracer(
} catch (IOException e) {
throw new RuntimeException(e);
} finally {
/*
if (traceFilePath != null && traceValidated) {
if (System.getenv("PRESERVE_TRACE_FILES") == null) {
boolean traceFileDeleted = traceFilePath.toFile().delete();
Expand All @@ -84,7 +83,6 @@ public static void checkTracer(
log -> log.debug("trace file {} deleted {}", finalTraceFilePath, traceFileDeleted));
}
}
*/
}
}

Expand Down

0 comments on commit 3f33761

Please sign in to comment.