From 825c15b6eaa3eca8a68049c5f1597109ca0804d0 Mon Sep 17 00:00:00 2001 From: Dan Connolly Date: Thu, 2 Sep 2021 16:14:13 -0500 Subject: [PATCH] test: note snapshot determinism test must track SES shim etc. --- packages/SwingSet/test/test-xsnap-store.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/packages/SwingSet/test/test-xsnap-store.js b/packages/SwingSet/test/test-xsnap-store.js index 08601c451b11..65cef84fa345 100644 --- a/packages/SwingSet/test/test-xsnap-store.js +++ b/packages/SwingSet/test/test-xsnap-store.js @@ -135,6 +135,12 @@ test('create SES worker, save, restore, resume', async t => { t.pass(); }); +/** + * The snapshot hashes in this test are, naturally, + * sensitive to any changes in bundle-ses-boot.umd.js; + * that is: any changes to the SES shim or to the + * xsnap-worker supervisor. + */ test('XS + SES snapshots are deterministic', async t => { const pool = tmp.dirSync({ unsafeCleanup: true }); t.teardown(() => pool.removeCallback());