equal
deleted
inserted
replaced
133 executor.shutdownNow(); |
133 executor.shutdownNow(); |
134 |
134 |
135 if (error) |
135 if (error) |
136 throw new RuntimeException("Failed. Check output"); |
136 throw new RuntimeException("Failed. Check output"); |
137 |
137 |
138 } finally { |
|
139 ((ExecutorService) client.executor()).shutdownNow(); |
|
140 } |
138 } |
141 } |
139 } |
142 |
140 |
143 static void checkReturnOrder(HttpRequest[] requests) throws InterruptedException { |
141 static void checkReturnOrder(HttpRequest[] requests) throws InterruptedException { |
144 // wait for exceptions and check order |
142 // wait for exceptions and check order |