From a97414674c2afb52331662d8603bd9133aae7f9a Mon Sep 17 00:00:00 2001 From: Bryan Duxbury Date: Sun, 12 Sep 2010 15:30:06 +0000 Subject: [PATCH] java: tiny improvement to async client manager test git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@996328 13f79535-47bb-0310-9956-ffa450edef68 --- .../test/org/apache/thrift/async/TestTAsyncClientManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/java/test/org/apache/thrift/async/TestTAsyncClientManager.java b/lib/java/test/org/apache/thrift/async/TestTAsyncClientManager.java index 187c8f835..55bd01749 100644 --- a/lib/java/test/org/apache/thrift/async/TestTAsyncClientManager.java +++ b/lib/java/test/org/apache/thrift/async/TestTAsyncClientManager.java @@ -286,7 +286,7 @@ public class TestTAsyncClientManager extends TestCase { for (JankyRunnable runnable : runnables) { numSuccesses += runnable.getNumSuccesses(); } - assertEquals(numThreads * numCallsPerThread, numSuccesses); + assertEquals(numSuccesses, numThreads * numCallsPerThread); // check that timeouts work assertFalse(s.isStopped());