Skip to content

Commit 47f28a4

Browse files
Ajit GeorgeAjit George
authored andcommitted
Regression fix
1 parent a53a73f commit 47f28a4

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

test-complete/src/test/java/com/marklogic/javaclient/TestJacksonDateTimeFormat.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -342,6 +342,13 @@ public void testPOJORepoDeleteDateTime() {
342342
validateSpecialArtifactDateTime(artifact, artifactName, longId, calTime);
343343

344344
pojoReposProducts.delete(calTime);
345+
// Introduce a wait for the document to be deleted.
346+
try {
347+
Thread.sleep(5000);
348+
} catch (InterruptedException e) {
349+
// TODO Auto-generated catch block
350+
e.printStackTrace();
351+
}
345352
// Validate the artifact read back.
346353
long count = pojoReposProducts.count();
347354

0 commit comments

Comments
 (0)