Skip to content

Commit e86553f

Browse files
authored
Merge pull request #67 from DataDog/nick/catch_IO_Exception
2 parents 3d7691c + 8d482c4 commit e86553f

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/test/java/com/timgroup/statsd/NonBlockingStatsDClientTest.java

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,12 @@ public static void start() throws IOException {
2525

2626
@AfterClass
2727
public static void stop() throws Exception {
28-
client.stop();
29-
server.close();
28+
try {
29+
client.stop();
30+
server.close();
31+
} catch (java.io.IOException e) {
32+
return;
33+
}
3034
}
3135

3236
@After

0 commit comments

Comments
 (0)