Skip to content

Commit

Permalink
reduce gc sensitivity in some tests
Browse files Browse the repository at this point in the history
Swingset/test/vat-admin/test-replay.js and
test/upgrade/test-upgrade-replay.js sometimes fail, with similar
symptoms to commit 99522ea, and
that's not what we're trying to test here.

I'm going to disable BOYD in the first with a
defaultReapInterval='never' to make it less sensitive, and I'll fix
the second by only running it under xsnap.
  • Loading branch information
warner committed Apr 10, 2023
1 parent 7c87ffb commit 83155ef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/SwingSet/test/upgrade/test-upgrade-replay.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ test.before(async t => {
test('replay after upgrade', async t => {
const config = {
bootstrap: 'bootstrap',
defaultManagerType: 'xsnap',
vats: {
bootstrap: { sourceSpec: bfile('bootstrap-upgrade-replay.js') },
},
Expand Down
1 change: 1 addition & 0 deletions packages/SwingSet/test/vat-admin/test-replay.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ test.serial('replay dynamic vat', async t => {
},
},
bootstrap: 'bootstrap',
defaultReapInterval: 'never',
};

const ss1 = initSwingStore();
Expand Down

0 comments on commit 83155ef

Please sign in to comment.