From bf97fe529648bbf6a7ebf1a3134ed168a83e7156 Mon Sep 17 00:00:00 2001 From: Jussi Saurio Date: Mon, 24 Nov 2025 21:56:16 +0200 Subject: [PATCH] sim/aws: memory IO 100% of the time, differential 50% of the time - memory IO is faster and is async IO as well, which we aren't testing atm really - differential testing might also uncover bugs --- simulator-docker-runner/docker-entrypoint.simulator.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/simulator-docker-runner/docker-entrypoint.simulator.ts b/simulator-docker-runner/docker-entrypoint.simulator.ts index c76506d1a3..62dfd734e9 100644 --- a/simulator-docker-runner/docker-entrypoint.simulator.ts +++ b/simulator-docker-runner/docker-entrypoint.simulator.ts @@ -176,6 +176,15 @@ while (new Date().getTime() - startTime.getTime() < TIME_LIMIT_MINUTES * 60 * 10 args.push("--profile", "faultless"); } + // Memory IO is faster + if (!args.includes("--memory-io")) { + args.push("--memory-io"); + } + + if (Math.random() < 0.5 && !args.includes("--differential")) { + args.push("--differential"); + } + args.push(...["--minimum-tests", "100", "--maximum-tests", "1000"]); const loop = args.includes("loop") ? [] : ["loop", "-n", "10", "--short-circuit"] args.push(...loop);