-
Notifications
You must be signed in to change notification settings - Fork 219
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test(cosmic-swingset): Introduce a swingset instantiation discontinui…
…ty to the run policy test An unrelated CI test experienced a failure when budgeted vat cleanup had already removed a strict subset of a slowly-terminating vat's kvStore entries that included the one with key "${vatID}.o.nextID"... `provideVatKeeper` uses such keys as a "vat is alive" predicate that must pass before it spins up any new keeper (whose primary purpose is providing an interface for a *live* vat). This is not an issue within a single swingset instantiation, in which `provideVatKeeper` is memoized. But that cache starts empty with each process, and the attempt to instantiate a new keeper for a slowly- terminating vat in this state fails. run-policy.test.js now covers this scenario.
- Loading branch information
Showing
2 changed files
with
59 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters