-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: separate detection of overlay support from every stacker run.
In unpriv test mode, we were running 'stacker testsuite-check-overlay' every time we ran stacker. That was causing me confusion and also is just wasteful, as the ability to use overlay does not change within the course of a test run. This introduces 'suite_setup' which ideally would be used by the bats 'suite_setup' functionality. However, the Ubuntu 22.04 verison of bats does not *have* that functionalty. When run with '-j', this code will run more than once, but will worst case only run once per test, rather than once per invocation of 'stacker' (some tests invoke stacker many times). Also, adjust output of run_stacker function to be more useful than just "Debug mode: " Signed-off-by: Scott Moser <smoser@brickies.net> Signed-off-by: Serge E. Hallyn <serge@hallyn.com>
- Loading branch information
Showing
1 changed file
with
93 additions
and
21 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