By removing global variables, and dehardcoding udp ports. The latter was probably the cause for random CI issues, as while the tests aren't run in parallel there, the hardcoded ports may not always be free.
Fixes #533 (closed)
Step 1. Fetch and check out the branch for this merge request
git fetch https://gitlab.freedesktop.org/meh/gst-plugins-good.git rtpaux_tests_fix_raciness git checkout -b meh/gst-plugins-good-rtpaux_tests_fix_raciness FETCH_HEAD
Step 2. Review the changes locally
Step 3. Merge the branch and fix any conflicts that come up
git fetch origin git checkout origin/master git merge --no-ff meh/gst-plugins-good-rtpaux_tests_fix_raciness
Step 4. Push the result of the merge to GitLab
git push origin master
Note that pushing to GitLab requires write access to this repository.
Tip: You can also checkout merge requests locally by following these guidelines.