forked from near/nearcore
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
runtime-tester: add support for specifying home directory
When debugging a test it may be desired to be able to see the state of the storage after the tests finishes. Currently, scenarios which use on-disk storage will use a temporary directory which will be deleted after the scenario runs. This of course is correct behaviour but it makes it impossible to investigate the storage of a failing (or otherwise misbehaving) test. Provide a Scenario::home_dir field which specifies where the store will be located. Importantly, Secnario::run will not delete that directory after executing the scenario thus letting the user see the end result. Issue: near#4771
- Loading branch information
Showing
4 changed files
with
59 additions
and
14 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
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