mirror of
https://github.com/block/buzz.git
synced 2026-12-01 05:32:24 +00:00
test(desktop): use portable readiness command
Signed-off-by: npub13n66s06epmqf2kc3v373ez8hj65cuzyvxzjf93vwpervxqn2u7jq2qd9je <8cf5a83f590ec0955b11647d1c88f796a98e088c30a492c58e0e46c3026ae7a4@buzz.block.builderlab.xyz>
This commit is contained in:
parent
2a7b2c36ff
commit
b390593ab6
@@ -648,7 +648,11 @@ mod tests {
|
||||
#[test]
|
||||
fn readiness_is_evaluated_for_the_selected_instance_runtime() {
|
||||
let selected = record_with_command("buzz-agent");
|
||||
let unrelated_ready_runtime = record_with_command("/usr/bin/true");
|
||||
let unrelated_ready_command = std::env::current_exe()
|
||||
.expect("current test executable must be available")
|
||||
.to_string_lossy()
|
||||
.into_owned();
|
||||
let unrelated_ready_runtime = record_with_command(&unrelated_ready_command);
|
||||
let global = super::super::GlobalAgentConfig::default();
|
||||
|
||||
assert!(matches!(
|
||||
|
||||
Reference in New Issue
Block a user