Repository navigation
Conversation
…which the binary's start alone took on a loaded machine (the workspace's other tests running meanwhile), so they failed there; 30 still catches a desktop that started instead of exiting
Contributor
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 and why
apps/vectorcraft/tests/automation_args.rsstarts thevectorcraftbinary with invalid root arguments and expects it to exit within 5 seconds. On a loaded machine (the workspace's other tests running meanwhile), starting the binary alone took longer, so three tests failed as "desktop started or did not exit promptly":missing_empty_or_option_operands_fail_before_startup,control_without_a_valid_port_fails_before_startupandduplicate_roots_fail_for_both_spellings.The limit is now 30 seconds, with a comment saying why: still enough to catch a desktop that started instead of exiting, which is what the test is for.
How it was tested
cargo test -p vectorcraft --test automation_argspasses with the change.cargo xtask cirun at a load average above 20, and passed on their own.Checklist
cargo xtask cipasses (fmt, clippy, tests, assets, brands, layers, wasm). Not run on this branch: onlyautomation_argswas.ASSETS.md(no assets).Summary by CodeRabbit