Skip to content

Commit 93e0c76

Browse files
committed
[ignore] Add comments
1 parent 34c221c commit 93e0c76

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

exist-core/src/test/java/org/exist/storage/CopyCollectionTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -367,6 +367,8 @@ private void copyCol(final Subject execAsUser, final DBBroker.PreserveType prese
367367
final Txn transaction = pool.getTransactionManager().beginTransaction();
368368
final Collection srcCol = broker.openCollection(src, LockMode.READ_LOCK);
369369
final Collection destCol = broker.openCollection(dest.removeLastSegment(), LockMode.WRITE_LOCK)) {
370+
371+
// Wait a moment to ensure both resources have a different timestamp.
370372
Thread.sleep(10);
371373
broker.copyCollection(transaction, srcCol, destCol, dest.lastSegment(), preserve);
372374

0 commit comments

Comments
 (0)