a probable fix for tests
This commit is contained in:
parent
af445394c0
commit
fe8fb79da0
1 changed files with 3 additions and 0 deletions
|
|
@ -171,6 +171,9 @@ impl ClientOsApi for FakeInputOutput {
|
||||||
::std::thread::sleep(MIN_TIME_BETWEEN_SNAPSHOTS - last_snapshot_time.elapsed());
|
::std::thread::sleep(MIN_TIME_BETWEEN_SNAPSHOTS - last_snapshot_time.elapsed());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if self.stdin_commands.lock().unwrap().len() == 1 {
|
||||||
|
std::thread::sleep_ms(100);
|
||||||
|
}
|
||||||
self.stdin_commands
|
self.stdin_commands
|
||||||
.lock()
|
.lock()
|
||||||
.unwrap()
|
.unwrap()
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue