java: tiny improvement to async client manager test, for real this time
authorBryan Duxbury <bryanduxbury@apache.org>
Sun, 12 Sep 2010 15:31:50 +0000 (15:31 +0000)
committerBryan Duxbury <bryanduxbury@apache.org>
Sun, 12 Sep 2010 15:31:50 +0000 (15:31 +0000)
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@996329 13f79535-47bb-0310-9956-ffa450edef68

lib/java/test/org/apache/thrift/async/TestTAsyncClientManager.java

index 55bd017..187c8f8 100644 (file)
@@ -286,7 +286,7 @@ public class TestTAsyncClientManager extends TestCase {
     for (JankyRunnable runnable : runnables) {
       numSuccesses += runnable.getNumSuccesses();
     }
-    assertEquals(numSuccesses, numThreads * numCallsPerThread);
+    assertEquals(numThreads * numCallsPerThread, numSuccesses);
 
     // check that timeouts work
     assertFalse(s.isStopped());