eProsima / Fast-DDS

The most complete DDS - Proven: Plenty of success cases. Looking for commercial support? Contact info@eprosima.com
https://eprosima.com
Apache License 2.0
2.16k stars 765 forks source link

[21162] Split example tests in different ctest tests #4921

Closed JesusPoderoso closed 3 months ago

JesusPoderoso commented 3 months ago

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:

Contributor Checklist

Reviewer Checklist