forked from RamenDR/ramen
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
We had 2 places using a test context - test suites, and action helpers. To work with both, we store the test context in a map and had complicated search mechanism to locate the context in both the parent and child sub-tests. This failed randomly since the map was not protected with a mutex. Simplify the design by implementing the actions (deploy, enable, ..) in the test context. With this we can create a test context instance and pass it to the code running a test flow, and we don't need to manage any global state. Fixes: RamenDR#1571 Signed-off-by: Nir Soffer <nsoffer@redhat.com>
- Loading branch information
Showing
3 changed files
with
52 additions
and
120 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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