Give remote-test-client a longer timeout

This commit is contained in:
Ana Hobden 2024-07-02 10:09:40 -07:00
parent 7d97c59438
commit 4b0b97f66d
No known key found for this signature in database

View File

@ -71,7 +71,7 @@ fn spawn_emulator(target: &str, server: &Path, tmpdir: &Path, rootfs: Option<Pat
// Wait for the emulator to come online
loop {
let dur = Duration::from_millis(100);
let dur = Duration::from_millis(2000);
if let Ok(mut client) = TcpStream::connect(&device_address) {
t!(client.set_read_timeout(Some(dur)));
t!(client.set_write_timeout(Some(dur)));