Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove side effect from re-using generated zones in other test modules #331

Merged
merged 2 commits into from
Mar 14, 2019
Merged

remove side effect from re-using generated zones in other test modules #331

merged 2 commits into from
Mar 14, 2019

Conversation

Lagovas
Copy link
Collaborator

@Lagovas Lagovas commented Mar 14, 2019

small refactoring that allow to re-use generated zones from ACE integration tests in AEE tests.
If AEE tests will import some TestCase from ACE and zones global variable with pre-generated values, then unittest module will call setUpModule + tearDownModule for ACE tests initialization and once setUpModule for AEE tests that call base setUpModule. zones will contain all zones that was generated in setUpModule for ACE but files that store keys will be deleted in tearDownModule. But zones variable wasn't updated after deletion and AEE will try to use not-existing keys from first generation

@vixentael vixentael merged commit 3ad6c33 into cossacklabs:master Mar 14, 2019
@Lagovas Lagovas deleted the lagovas/remove-side-effect branch March 18, 2020 17:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants