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());
|
||||
}
|
||||
}
|
||||
if self.stdin_commands.lock().unwrap().len() == 1 {
|
||||
std::thread::sleep_ms(100);
|
||||
}
|
||||
self.stdin_commands
|
||||
.lock()
|
||||
.unwrap()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue