Skip to content

Commit 4650a80

Browse files
author
Brendan W. McAdams
committed
Attempting to debug Jenkins failure iwth SecondaryReadTest
1 parent 8976e9b commit 4650a80

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/test/com/mongodb/SecondaryReadTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,9 @@ private List<ObjectId> insertTestData(final DBCollection pCol) throws Exception
253253
// Insert some test data.
254254
for (int idx=0; idx < INSERT_COUNT; idx++) {
255255
final ObjectId id = ObjectId.get();
256+
System.err.println("Inserting ID " + id + " with REPLICAS_SAFE");
256257
WriteResult writeResult = pCol.insert(new BasicDBObject("_id", id), WriteConcern.REPLICAS_SAFE);
258+
System.err.println("Inserted OK.");
257259
writeResult.getLastError().throwOnError();
258260
insertedIds.add(id);
259261
}

0 commit comments

Comments
 (0)