Skip to content

Commit

Permalink
throw OOM
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmrdavid committed Oct 1, 2024
1 parent f419c91 commit a867ae6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ public static Task ProcessExitOrchestrator(
// on the very first replay, OOM the process
if (isTheFirstReplay)
{
// force the process to suddenly exit
Environment.FailFast("Fail Fast!");
// simulate out of memory
throw new OutOfMemoryException();
}

// assuming the orchestrator survived the OOM, delete the evidence file and return
Expand Down

0 comments on commit a867ae6

Please sign in to comment.