@agoric/swingset-liveslots 0.10.3-dev-04140c1.0 → 0.10.3-dev-a8e6137.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agoric/swingset-liveslots",
3
- "version": "0.10.3-dev-04140c1.0+04140c1",
3
+ "version": "0.10.3-dev-a8e6137.0+a8e6137",
4
4
  "description": "SwingSet ocap support layer",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
@@ -19,8 +19,8 @@
19
19
  "postpack": "git clean -f ':!src/types-index.d.ts' '*.d.ts*' '*.tsbuildinfo'"
20
20
  },
21
21
  "dependencies": {
22
- "@agoric/internal": "0.3.3-dev-04140c1.0+04140c1",
23
- "@agoric/store": "0.9.3-dev-04140c1.0+04140c1",
22
+ "@agoric/internal": "0.3.3-dev-a8e6137.0+a8e6137",
23
+ "@agoric/store": "0.9.3-dev-a8e6137.0+a8e6137",
24
24
  "@endo/env-options": "^1.1.8",
25
25
  "@endo/errors": "^1.2.10",
26
26
  "@endo/eventual-send": "^1.3.1",
@@ -34,7 +34,7 @@
34
34
  "@endo/promise-kit": "^1.1.10"
35
35
  },
36
36
  "devDependencies": {
37
- "@agoric/kmarshal": "0.1.1-dev-04140c1.0+04140c1",
37
+ "@agoric/kmarshal": "0.1.1-dev-a8e6137.0+a8e6137",
38
38
  "ava": "^5.3.0"
39
39
  },
40
40
  "files": [
@@ -68,5 +68,5 @@
68
68
  "typeCoverage": {
69
69
  "atLeast": 75.24
70
70
  },
71
- "gitHead": "04140c18f9ad898cb4461e246c0065eddabb35ab"
71
+ "gitHead": "a8e61378f182a56467d8e41be65bf25050041963"
72
72
  }
@@ -1,5 +1,6 @@
1
1
  // @ts-nocheck
2
2
  import test from 'ava';
3
+ import { avaRetry } from '@agoric/internal/tools/avaRetry.js';
3
4
 
4
5
  import { kslot, kunser } from '@agoric/kmarshal';
5
6
  import {
@@ -66,7 +67,7 @@ function assertState(v, vref, reachable, erv) {
66
67
  // different test.
67
68
 
68
69
  // test 1: lerv -> Lerv -> LerV -> Lerv -> lerv
69
- test.serial('store lifecycle 1', async t => {
70
+ avaRetry(test.serial, 'store lifecycle 1', async t => {
70
71
  const { v, dispatchMessageSuccessfully } = await setupTestLiveslots(
71
72
  t,
72
73
  buildRootObject,
@@ -94,7 +95,7 @@ test.serial('store lifecycle 1', async t => {
94
95
 
95
96
  // test 2: lerv -> Lerv -> LerV -> lerV -> LerV -> LERV -> lERV -> LERV ->
96
97
  // lERV -> LERV -> lERV -> leRV -> LeRV -> leRV -> LeRV -> LerV
97
- test.serial('store lifecycle 2', async t => {
98
+ avaRetry(test.serial, 'store lifecycle 2', async t => {
98
99
  const {
99
100
  v,
100
101
  dispatchMessageSuccessfully,
@@ -170,7 +171,7 @@ test.serial('store lifecycle 2', async t => {
170
171
  });
171
172
 
172
173
  // test 3: lerv -> Lerv -> LerV -> LERV -> LeRV -> leRV -> lerV -> lerv
173
- test.serial('store lifecycle 3', async t => {
174
+ avaRetry(test.serial, 'store lifecycle 3', async t => {
174
175
  const {
175
176
  v,
176
177
  dispatchMessageSuccessfully,
@@ -211,7 +212,7 @@ test.serial('store lifecycle 3', async t => {
211
212
  });
212
213
 
213
214
  // test 4: lerv -> Lerv -> LERv -> LeRv -> lerv
214
- test.serial('store lifecycle 4', async t => {
215
+ avaRetry(test.serial, 'store lifecycle 4', async t => {
215
216
  const { v, dispatchMessageSuccessfully, dispatchDropExports } =
216
217
  await setupTestLiveslots(t, buildRootObject, 'bob', { forceGC: true });
217
218
 
@@ -239,7 +240,7 @@ test.serial('store lifecycle 4', async t => {
239
240
  });
240
241
 
241
242
  // test 5: lerv -> Lerv -> LERv -> LeRv -> Lerv -> lerv
242
- test.serial('store lifecycle 5', async t => {
243
+ avaRetry(test.serial, 'store lifecycle 5', async t => {
243
244
  const {
244
245
  v,
245
246
  dispatchMessageSuccessfully,
@@ -277,7 +278,7 @@ test.serial('store lifecycle 5', async t => {
277
278
  });
278
279
 
279
280
  // test 6: lerv -> Lerv -> LERv -> LeRv -> LeRV -> LeRv -> LeRV -> leRV -> lerv
280
- test.serial('store lifecycle 6', async t => {
281
+ avaRetry(test.serial, 'store lifecycle 6', async t => {
281
282
  const { v, dispatchMessageSuccessfully, dispatchDropExports } =
282
283
  await setupTestLiveslots(t, buildRootObject, 'bob', { forceGC: true });
283
284
 
@@ -322,7 +323,7 @@ test.serial('store lifecycle 6', async t => {
322
323
  });
323
324
 
324
325
  // test 7: lerv -> Lerv -> LERv -> lERv -> LERv -> lERv -> lerv
325
- test.serial('store lifecycle 7', async t => {
326
+ avaRetry(test.serial, 'store lifecycle 7', async t => {
326
327
  const { v, dispatchMessageSuccessfully, dispatchDropExports } =
327
328
  await setupTestLiveslots(t, buildRootObject, 'bob', { forceGC: true });
328
329
 
@@ -361,7 +362,7 @@ test.serial('store lifecycle 7', async t => {
361
362
  });
362
363
 
363
364
  // test 8: lerv -> Lerv -> LERv -> LERV -> LERv -> LERV -> lERV -> lERv -> lerv
364
- test.serial('store lifecycle 8', async t => {
365
+ avaRetry(test.serial, 'store lifecycle 8', async t => {
365
366
  const { v, dispatchMessageSuccessfully, dispatchDropExports } =
366
367
  await setupTestLiveslots(t, buildRootObject, 'bob', { forceGC: true });
367
368