Skip to content

Commit

Permalink
fix(SwingSet): Fix test-controller regression from #4575
Browse files Browse the repository at this point in the history
  • Loading branch information
mhofman committed Feb 25, 2022
1 parent c5c9be2 commit 89a2ca5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/SwingSet/test/test-controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ test.serial('bootstrap export', async t => {
}

t.deepEqual(c.dump().log, []);
for (let i = 0; i < 7; i += 1) {
for (let i = 0; i < 6; i += 1) {
// eslint-disable-next-line no-await-in-loop
await stepGC(); // vat starts
}
Expand Down Expand Up @@ -309,6 +309,7 @@ test.serial('bootstrap export', async t => {
},
]);

await stepGC(); // dropExports
await stepGC(); // message foo
const barP = 'kp42';
t.deepEqual(c.dump().log, ['bootstrap.obj0.bootstrap()', 'left.foo 1']);
Expand Down

0 comments on commit 89a2ca5

Please sign in to comment.