Fix test_synchronization
system test
#5089
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Change the execution of queries using the correct script (adding it to the manager during provisioning). Fix the test that gave an error for not using the json format and adjust the condition so that the test passes or fails.
Testing Performed
Steps to Test on Local
First you have to download the code and the branch with the fix, then you just have to execute the commands in order to launch the test.
When provisioning you have to ensure that you take the packages from the correct bucket.
Results
I have run the test several times to check the functionality
for i in {1..10}; do python3 -m pytest -vvrxP test_fim/test_synchronization/test_synchronization.py; done >> results
All 10 test runs have passed correctly. This is the result, in HTML format, of the execution of the tests report.zip