-
Notifications
You must be signed in to change notification settings - Fork 10
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
Fix - Broken tests #44
Conversation
The test_use_default_inputs test function (test_atomic_svc.py) could not check a default value as the targeted file did exist.
@elegantmoose, @clenk, completes the Fix - Broken tests #3013 PR. |
just for my awareness, what issue is this fixing? The current atomic tests seem to work for me locally |
@uruwhy, without this change, the test SummaryIt happens when Caldera has already run once with the plugin atomic enabled before running this test.
DetailsThe test code first calls In the capture below, I called in advance the method in the debugger to see its result before its real call (overriding variables with returned values): Everything happens in this method. In the case you start Caldera with the atomic plugin at least once, the plugin, when starting, clones the The if clause is validated, making a call to ReproducingTo make the test pass, just deletes the generated To make the test fail again, deletes the My fix proposalWhat I did here is to change the testing This is one solution I found, but there should be other ways to make this this test deterministic. |
@jbaptperez |
@elegantmoose approved and ready for merge |
Description
Fixes a broken test.
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
I ran all tests, including the fixed one.
Checklist: