-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Some test scenarios will require the configuration state to be recoverable from a previous point of execution (for example: when providing a copy of the data directory to a running node instead of allowing the original to be manipulated, giving each test instance its own copy of dependent data to work on). Update samulator (cmd/main) to accept an optional flag to allow the buyer, vendor and/or moderator configuration to be rolled back to their original state before exiting.
Implementation details:
- Runner should be responsible for duplicating and restoring configurations (as this is an ob-go runtime concern and only the runner is aware of configuration paths at this point).
- When using duplicated configuration data, the data used by the runner during operation should not be the originally provided data path but should be the duplicated data path. If the framework (or consuming script) fails/panics, at least it would leave the original data intact. All efforts should be made to ensure duplicate data is cleaned up.
- Default samulator data path should be used for duplicate data and sufficiently isolated
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request