-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Periodically validate Fishtest's internal data structures.
In this way we guarantee that the schemas in schemas.py are kept up-to-date and hence preserve their documentary value. Also: switch to string keys for the worker_runs dict. This is what we do elsewhere and it makes the schema more readable: worker_runs_schema = { uuid: { run_id: True, "last_run": run_id, } } Also: retire the separate variable "purge_count" and include it in the "active_run" dict. Requires upgrade of vtjson for the set datatype used in "unfinished_runs_schema". Co-Authored-By: vdbergh <[email protected]>
- Loading branch information
Showing
2 changed files
with
115 additions
and
37 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