Skip to content

Commit 8c68543

Browse files
committed
add abort on timeout
1 parent 22d7f46 commit 8c68543

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

SpiNNaker-comms/src/test/java/uk/ac/manchester/spinnaker/transceiver/ReliabilityITCase.java

+2
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717

1818
import static java.net.InetAddress.getByName;
1919
import static org.junit.jupiter.api.Assertions.*;
20+
import static org.junit.jupiter.api.Assumptions.abort;
2021
import static org.junit.jupiter.api.Assumptions.assumeTrue;
2122
import static org.slf4j.LoggerFactory.getLogger;
2223
import static uk.ac.manchester.spinnaker.machine.MachineVersion.FIVE;
@@ -69,6 +70,7 @@ void testReliableMachine() throws Exception {
6970
} catch (ProcessException e) {
7071
if (e.getCause() instanceof SocketTimeoutException) {
7172
log.info("ignoring timeout from " + e.getCause());
73+
abort("ignoring timeout from " + e.getCause());
7274
} else {
7375
throw e;
7476
}

0 commit comments

Comments
 (0)