[21162] Split example tests in different ctest tests #4921
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
Current example tests are defined under the same pytest. That makes the "all examples" test fail if the timeout (300 sec) is reached. It didn't happen before but while including new examples (and their corresponding tests) this timeout has been reached.
This PR splits the pytest file with all example tests into different pytest files under different directories, so each of them would run independently with the same timeout (300 sec).
The corresponding compose file for each test has been configured in the same directoy on build time.
Note: This has been done assuming the name matches:
example_name
.compose.ymlexample_name
.pyContributor Checklist
versions.md
file (if applicable).Reviewer Checklist