Repository navigation
test: every suite finds the gateway through the harness - #405
Merged
Merged
Conversation
init_template, artifact_capabilities and security/artifact_signing looked for target/debug/barbacane themselves, process_lifecycle fell back to it, and control_cli and connected_mode looked in the target directory only. None honoured BARBACANE_TEST_BINARY, and under a redirected CARGO_TARGET_DIR (the coverage job) they ran target/debug/barbacane rather than the build under test whenever the cache had left one there. They now call find_barbacane_binary(): BARBACANE_TEST_BINARY first, then the active target directory, then the fixed candidates. Found by the static-image prototype (#404), which points BARBACANE_TEST_BINARY at a static gateway and has no target/debug/barbacane: init_template and artifact_capabilities failed there (run 44317540356, shards 1 and 3). (cherry picked from commit 049cd8a)
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.
Six integration tests found the gateway binary by themselves instead of through the harness:
init_template,artifact_capabilitiesandsecurity/artifact_signinglooked fortarget/debug/barbacane;process_lifecyclefell back to it;control_cliandconnected_modelooked in the target directory only.None honoured
BARBACANE_TEST_BINARY. Under a redirectedCARGO_TARGET_DIR(the coverage job, throughcargo llvm-cov), they rantarget/debug/barbacanerather than the build under test whenever the cache had left one there.They now call
find_barbacane_binary():BARBACANE_TEST_BINARYfirst, then the active target directory, then the fixed candidates.Tests
Found by the static-image prototype (#404), which points
BARBACANE_TEST_BINARYat a static gateway and has notarget/debug/barbacane:init_templateandartifact_capabilitiesfailed there (run 44317540356, shards 1 and 3). #404 carries this commit, so its next run shows them pass against the static binary.cargo check -p barbacane-test --testsis clean locally.