ci: Use ping instead of timeout
Signed-off-by: John Nunley <dev@notgull.net>
This commit is contained in:
parent
3e8ec39875
commit
29b5f4750e
|
@ -16,7 +16,11 @@ fn unix_sleep() {
|
|||
#[test]
|
||||
fn windows_sleep() {
|
||||
block_on(async {
|
||||
let status = Command::new("timeout").arg("5").status().await.unwrap();
|
||||
let status = Command::new("ping")
|
||||
.args(["-n", "5", "127.0.0.1"])
|
||||
.status()
|
||||
.await
|
||||
.unwrap();
|
||||
assert!(status.success());
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue