From c5e3f9463d55d2b262a3862ba30467e6c3a85b26 Mon Sep 17 00:00:00 2001 From: vadimt Date: Tue, 29 Jan 2019 16:52:22 -0800 Subject: [PATCH] Not suppressing exceptions in tests. This makes it harder to diagnose problems. Bug: 117888000 Test: all tests affected by the change Change-Id: I354e86af0929531653cf59ce1eb6435018c20e1a --- tests/src/com/android/launcher3/util/Wait.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/src/com/android/launcher3/util/Wait.java b/tests/src/com/android/launcher3/util/Wait.java index 0e41c0206b..593cce832b 100644 --- a/tests/src/com/android/launcher3/util/Wait.java +++ b/tests/src/com/android/launcher3/util/Wait.java @@ -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); }