From 01eaba8d065faf9eacb9aaa75a5f5ed57ac5bf76 Mon Sep 17 00:00:00 2001 From: Chris Hibbert Date: Mon, 23 Oct 2023 17:58:27 -0700 Subject: [PATCH] test: repair broken test of upgrade There was a bug in the part of the test that was attempting to run a bunch of scenarios across the upgrade. Rather than resuming each run after the upgrade, it was running the whole scenario from scratch after the upgrade. --- packages/zoe/test/swingsetTests/zoe/test-zoe-upgrade.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/zoe/test/swingsetTests/zoe/test-zoe-upgrade.js b/packages/zoe/test/swingsetTests/zoe/test-zoe-upgrade.js index ae1d0cff84c..febdb8ecccf 100644 --- a/packages/zoe/test/swingsetTests/zoe/test-zoe-upgrade.js +++ b/packages/zoe/test/swingsetTests/zoe/test-zoe-upgrade.js @@ -216,6 +216,6 @@ test('zoe vat upgrade trauma', async t => { // Verify completion of each paused flow. for (const { result, remainingSteps } of pausedFlows) { const [beforeStepName] = remainingSteps[0]; - await doSteps(`resumed-${beforeStepName}`, flow, result); + await doSteps(`resumed-${beforeStepName}`, remainingSteps, result); } });