Not suppressing exceptions in tests.
This makes it harder to diagnose problems. Bug: 117888000 Test: all tests affected by the change Change-Id: I354e86af0929531653cf59ce1eb6435018c20e1a
This commit is contained in:
parent
b3ca6aee2c
commit
c5e3f9463d
|
@ -23,7 +23,7 @@ public class Wait {
|
|||
return;
|
||||
}
|
||||
} catch (Throwable t) {
|
||||
// Ignore
|
||||
throw new RuntimeException(t);
|
||||
}
|
||||
SystemClock.sleep(sleepMillis);
|
||||
}
|
||||
|
@ -34,7 +34,7 @@ public class Wait {
|
|||
return;
|
||||
}
|
||||
} catch (Throwable t) {
|
||||
// Ignore
|
||||
throw new RuntimeException(t);
|
||||
}
|
||||
Assert.fail(message);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue