am 70ae1f2a: am a84584b1: am fed9821a: am b90a7018: am 045f6683: am 7ab1bfd2: am b54dbe5b: am d4a8e14b: am 5110549b: am 3a25ca5d: ListeningPortsTest: fix retry logic
* commit '70ae1f2a9653caff77b1ccbc9c500ad23d254c2d':
ListeningPortsTest: fix retry logic
diff --git a/tests/tests/security/src/android/security/cts/ListeningPortsTest.java b/tests/tests/security/src/android/security/cts/ListeningPortsTest.java
index 6d42a8e..87e957d 100644
--- a/tests/tests/security/src/android/security/cts/ListeningPortsTest.java
+++ b/tests/tests/security/src/android/security/cts/ListeningPortsTest.java
@@ -197,7 +197,7 @@
}
}
if (!errors.equals("")) {
- fail(errors);
+ throw new ListeningPortsAssertionError(errors);
}
}