Skip to content

Commit 900ac5e

Browse files
committed
Add test delay compensating TimeThread drift
1 parent d8bfc17 commit 900ac5e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

opendj-server-legacy/src/test/java/org/opends/server/replication/plugin/HistoricalTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -506,8 +506,8 @@ public void testRecurringPurgeIn1Run() throws Exception
506506
"--domain-name", testName,
507507
"--set","conflicts-historical-purge-delay:1m");
508508

509-
// Let's go past the purge delay
510-
Thread.sleep(60 * 1000);
509+
// Let's go past the purge delay (including potential TimeThread drift)
510+
Thread.sleep(60 * 1000 + 500);
511511

512512
// launch the purge
513513
final int maxWaitTimeInSeconds = 120;

0 commit comments

Comments
 (0)