Repository navigation
test(mimo_music): wait for renderer startup before timeout - #5450
Open
deavgprime wants to merge 2 commits into
Open
deavgprime wants to merge 2 commits into
deavgprime wants to merge 2 commits into
Conversation
Signed-off-by: deavgprime <[email protected]>
This branch has not been deployed
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.
What changed and why
Fixes #5429.
The renderer cleanup test can time out during scorer startup, before the renderer writes its PID. It then fails while reading the missing file instead of checking cleanup.
In the test, wait for an atomically written PID marker before applying the real one-second timeout. Cover both immediate startup and a 1.5-second startup delay. The test still checks that the renderer is no longer running and its scratch directory is removed. The startup wait is bounded at 30 seconds.
Validation
Linux, Python 3.13.17:
gym env test --resources-server mimo_music +should_validate_data=true +skip_venv_if_present=true: 63 passed, no skips; example data validation passed.pre-commit run --all-filespassed. The private guardwords catalog was unavailable, so that hook skipped its scan.Full core and sandbox suites were not run locally; this changes one component test file.
Compatibility and rollout evidence
No runtime, configuration or benchmark-result changes. Model rollout: N/A, test-only change.
Proposed labels:
ci,area:environment,needs-review.