-
Notifications
You must be signed in to change notification settings - Fork 257
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
We were calling DumpOpenStack* in the 'all nodes' argument to SynchronizedBeforeSuite, but only running the checks in the 'node 1' argument to SynchronizedAfterSuite. This is inefficient if we run with more than 1 node, as only data dumped by node 1 will be checked. This change moves the checks to a DeferCleanup() node called from the creation node, so the cleanup will only run where it was created. We also refactor CheckResourceCleanup to return error so we can return its output directly to DeferCleanup.
- Loading branch information
Showing
1 changed file
with
27 additions
and
38 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