Skip to content

Commit aa98f27

Browse files
committed
Sleeping for 2 seconds to let LSQT advance
1 parent 4f7b840 commit aa98f27

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test-complete/src/test/java/com/marklogic/client/functionaltest/TestBiTemporal.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1816,6 +1816,9 @@ public void testSystemTimeUsingInvalidTime() throws Exception {
18161816
.parseDateTime("2010-01-01T00:00:01");
18171817
insertJSONSingleDocument(temporalLsqtCollectionName, docId, null, null,
18181818
firstInsertTime);
1819+
1820+
// Sleep for 2 seconds for LSQT to be advanced
1821+
Thread.sleep(2000);
18191822

18201823
// Update by passing a system time that is less than previous one
18211824
Calendar updateTime = DatatypeConverter

0 commit comments

Comments
 (0)