Skip to content

Commit 66151e1

Browse files
georgeajitgeorgeajit
authored andcommitted
No Task - Added doc fetch to know why success count and batch size are different.
1 parent 82d7e99 commit 66151e1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

marklogic-client-api-functionaltests/src/test/java/com/marklogic/client/datamovement/functionaltests/QueryBatcherJobReportTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -535,6 +535,7 @@ public void stopTransformJobTest() throws Exception {
535535

536536
batcher = batcher.onUrisReady((batch) -> {
537537
successCount.set(dmManager.getJobReport(queryTicket).getSuccessEventsCount());
538+
System.out.println("Results so far in this Forest " + batch.getForest().getForestName() + " is " + batch.getForestResultsSoFar());
538539

539540
}).onUrisReady(listener);
540541
queryTicket = dmManager.startJob(batcher);
@@ -554,6 +555,7 @@ public void stopTransformJobTest() throws Exception {
554555
if (dh.get().getElementsByTagName("foo").item(0).getAttributes().item(0) == null) {
555556
count.incrementAndGet();
556557
System.out.println("stopTransformJobTest: skipped in server" + rec.getUri());
558+
System.out.println("stopTransformJobTest: skipped in server" + rec.getContentAs(String.class));
557559
}
558560
}
559561

0 commit comments

Comments
 (0)