You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -888,11 +891,10 @@ public void maxUrisTestWithQueryTask() {
888
891
dmManager.startJob(queryBatcher);
889
892
queryBatcher.awaitCompletion();
890
893
dmManager.stopJob(queryBatcher);
894
+
assertTrue("Counter value not as expected", (counter.get() >= maxBatches) && (counter.get()<= (forest_count+maxBatches)));
891
895
892
-
assertTrue("Counter value not as expected", (counter.get() >= 2) && (counter.get()<5));
893
-
894
-
// The number of documents should be more than maxuris but less than (maxuris+ threadcount*batchsize)
895
-
assertTrue("Output list does not contain expected number of outputs", (outputUris.size() >= 20) && outputUris.size()<50);
896
+
// The number of documents should be more than maxBatches*batchSize but less than (batchSize*(forest_count+maxBatches))
897
+
assertTrue("Output list does not contain expected number of outputs", (outputUris.size() >= (maxBatches*10)) && outputUris.size()<= (10*(forest_count+maxBatches)));
0 commit comments