File tree Expand file tree Collapse file tree
src/test/java/com/timgroup/statsd Expand file tree Collapse file tree Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments