-
Notifications
You must be signed in to change notification settings - Fork 277
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
Race condition between FFMpegWriter and ImageWriter tests #933
Comments
* Fix parallel test issues by renaming the output files to avoid clobbering (reported upstream at OpenShot/libopenshot#933) * Skip flaky test (reported upstream at OpenShot/libopenshot#934) Closes: https://bugs.gentoo.org/909759 Signed-off-by: Ninpo <[email protected]>
* Fix parallel test issues by renaming the output files to avoid clobbering (reported upstream at OpenShot/libopenshot#933) * Skip flaky test (reported upstream at OpenShot/libopenshot#934) Closes: https://bugs.gentoo.org/909759 Signed-off-by: Ninpo <[email protected]> Closes: #31810 Signed-off-by: Sam James <[email protected]>
Fix by Ninpo <[email protected]> When tests are run in parallel it's possible for ImageWriter and FFmpegWriter Gif tests to truncate/overwrite the other's output1.gif. This change makes use of test file names unique to the tests themselves. OpenShot#933
Fix by Ninpo <[email protected]> When tests are run in parallel it's possible for ImageWriter and FFmpegWriter Gif tests to truncate/overwrite the other's output1.gif. This change makes use of test file names unique to the tests themselves. Because cmake defaults to Makefiles and make does not -j$(nproc) by default, this bug can't show up unless part of a build with parallel make with tests included. OpenShot#933
Thank you so much for submitting an issue to help improve OpenShot Video Editor. We are sorry about this, but this particular issue has gone unnoticed for quite some time. To help keep the OpenShot GitHub Issue Tracker organized and focused, we must ensure that every issue is correctly labelled and triaged, to get the proper attention. This issue will be closed, as it meets the following criteria:
We'd like to ask you to help us out and determine whether this issue should be reopened.
Thanks again for your help! |
It's possible when tests are run in parallel for the FFmpegWriter:Gif and ImageWriter:Gif tests to collide due to creation of the same file, output1.gif.
Discovered over at Gentoo Linux during version bump to 0.3.2: https://bugs.gentoo.org/909759
PR submitted with suggested fix.
The text was updated successfully, but these errors were encountered: