diff --git a/test/SmokeTests/OOProcSmokeTests/DotNetIsolated/FaultyOrchestrators.cs b/test/SmokeTests/OOProcSmokeTests/DotNetIsolated/FaultyOrchestrators.cs index e84afb87c..dd7327f94 100644 --- a/test/SmokeTests/OOProcSmokeTests/DotNetIsolated/FaultyOrchestrators.cs +++ b/test/SmokeTests/OOProcSmokeTests/DotNetIsolated/FaultyOrchestrators.cs @@ -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