Skip to content

Commit

Permalink
[TEST] use more verbose assertion in IndicesRequestTests
Browse files Browse the repository at this point in the history
  • Loading branch information
s1monw committed Aug 24, 2014
1 parent e16a461 commit 24e3c41
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -861,7 +861,7 @@ private String[] randomUniqueIndicesOrAliases() {
private static void assertAllRequestsHaveBeenConsumed() {
Iterable<TransportService> transportServices = internalCluster().getInstances(TransportService.class);
for (TransportService transportService : transportServices) {
assertThat(((InterceptingTransportService)transportService).requests.isEmpty(), equalTo(true));
assertThat(((InterceptingTransportService)transportService).requests.entrySet(), emptyIterable());
}
}

Expand Down

0 comments on commit 24e3c41

Please sign in to comment.