Skip to content

Commit a99b508

Browse files
authored
Update UnixSocketTest.java
1 parent b1b8f44 commit a99b508

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,6 @@ public void resist_dsd_restart() throws Exception {
109109
client.gauge("mycount", 20);
110110
Thread.sleep(10);
111111
}
112-
// Depending on the state of the client at that point we might get different messages.
113112
assertThat(lastException.getMessage(), containsString("Connection refused"));
114113

115114
// Delete the socket file, client should throw an IOException
@@ -120,7 +119,6 @@ public void resist_dsd_restart() throws Exception {
120119
while(lastException.getMessage() == null) {
121120
Thread.sleep(10);
122121
}
123-
// Depending on the state of the client at that point we might get different messages.
124122
assertThat(lastException.getMessage(), containsString("No such file or directory"));
125123

126124
// Re-open the server, next send should work OK

0 commit comments

Comments
 (0)