mirror of
https://gitlab.com/gabmus/envision.git
synced 2025-08-03 06:38:52 +00:00
fix: less error prone runner test
This commit is contained in:
parent
317e526822
commit
f38e2ce698
1 changed files with 1 additions and 1 deletions
|
@ -227,7 +227,7 @@ mod tests {
|
||||||
vec!["-c".into(), "echo \"REX2TEST: $REX2TEST\"".into()],
|
vec!["-c".into(), "echo \"REX2TEST: $REX2TEST\"".into()],
|
||||||
);
|
);
|
||||||
runner.start();
|
runner.start();
|
||||||
sleep(time::Duration::from_millis(10));
|
sleep(time::Duration::from_millis(1000)); // TODO: ugly, fix
|
||||||
runner.terminate();
|
runner.terminate();
|
||||||
assert_eq!(runner.status(), RunnerStatus::Stopped(Some(0)));
|
assert_eq!(runner.status(), RunnerStatus::Stopped(Some(0)));
|
||||||
let out = runner.consume_output();
|
let out = runner.consume_output();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue