Skip to content

Commit

Permalink
test(snapstore): tolerate smaller compressed files
Browse files Browse the repository at this point in the history
  • Loading branch information
dckc committed Feb 11, 2021
1 parent 1c70775 commit d9f9918
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/SwingSet/test/workers/test-snapstore.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,10 @@ test('bootstrap, save, compress', async t => {
);

const zfile = path.resolve(pool, `${h}.gz`);
t.is(Kb(zfile), snapSize.compressed, 'compressed snapshots are smaller');
t.truthy(
Kb(zfile) <= snapSize.compressed,
'compressed snapshots are smaller',
);
});

test('create, save, restore, resume', async t => {
Expand Down

0 comments on commit d9f9918

Please sign in to comment.