Skip to content

Commit

Permalink
fix(swingset): force flaky GC test to use XS only
Browse files Browse the repository at this point in the history
Sometimes, for reasons we don't entirely understand, Node.js doesn't
garbage-collect objects when we tell it to, and we get flaky
GC-checking tests. This applies our usual fix, which is to only run
those tests under XS.

refs #3240
refs #5575
fixes #9089
  • Loading branch information
warner committed Mar 23, 2024
1 parent abd1d03 commit 87882a8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/SwingSet/test/test-gc-kernel.js
Original file line number Diff line number Diff line change
Expand Up @@ -1180,6 +1180,7 @@ test.serial('device transfer', async t => {
};
}
const config = {
defaultManagerType: 'xs-worker', // Avoid local vat nondeterminism
vats: {
bootstrap: vatpath('bootstrap-gc.js'),
left: vatpath('vat-left-gc.js'),
Expand Down

0 comments on commit 87882a8

Please sign in to comment.