Repository navigation
test: serialize the scripting host tests that share ../PlugIns - #2060
Merged
Merged
Conversation
test_obs_scripting_lua_host_macos and test_obs_scripting_python_host_macos both create and remove ../PlugIns next to the test binaries. ctest runs them in parallel, so one removes the folder while the other checks it, and test_dirs fails with 0 != 1 (merge groups for #2048 and #2054, 2026-10-24). A shared RESOURCE_LOCK keeps them from running at the same time.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Master flake that is ejecting unrelated PRs from the merge queue.
test_obs_scripting_lua_host_macos(#1987) andtest_obs_scripting_python_host_macos(#2012) bothos_rmdir/os_mkdirthe same../PlugInsfolder next to the test binaries. ctest runs them in parallel, so one removes the folder while the other is checking it:(merge group for #2048, run 40065325663; python variant at line 74 in the merge group for #2054, run 40065984661).
Fix: a shared
RESOURCE_LOCK obs-scripting-host-plugins-diron the Lua and Python host tests, so ctest never runs two of them at once. No test code changes.RED evidence: the two CI failures above (an intermittent race, so there is no deterministic local RED). gersemi passes locally.
CI-only change: no features-ledger line. Opened by the coordinator to unblock the queue. The other current flake,
test_context_names/test_canvas_sourcessegfaulting, is a separate libobs regression, reported on #2041.