Don't print intermediate status when running SimultaneousSenderTest.
This commit is contained in:
parent
dcec02412d
commit
cd4b85b0b5
|
@ -47,10 +47,8 @@ public class SimultaneousSenderTest {
|
||||||
results.add(sender.send(Message.newBuilder().withDestination("1").build()));
|
results.add(sender.send(Message.newBuilder().withDestination("1").build()));
|
||||||
}
|
}
|
||||||
|
|
||||||
int i=0;
|
|
||||||
for (CompletableFuture<Result> future : results) {
|
for (CompletableFuture<Result> future : results) {
|
||||||
Result result = future.get(60, TimeUnit.SECONDS);
|
Result result = future.get(60, TimeUnit.SECONDS);
|
||||||
System.out.println("Got " + (i++));
|
|
||||||
|
|
||||||
if (!result.isSuccess()) {
|
if (!result.isSuccess()) {
|
||||||
throw new AssertionError(result.getError());
|
throw new AssertionError(result.getError());
|
||||||
|
|
Loading…
Reference in New Issue