Skip to content

Commit cf7fc3f

Browse files
committed
Remove debug timeouts.
1 parent af8a3e2 commit cf7fc3f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/sdk/server/src/test/java/com/launchdarkly/sdk/server/FDv2DataSourceTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1598,10 +1598,10 @@ public void recoveryResetsToFirstAvailableSynchronizer() throws Exception {
15981598
resourcesToClose.add(dataSource);
15991599

16001600
Future<Void> startFuture = dataSource.start();
1601-
startFuture.get(2000, TimeUnit.SECONDS);
1601+
startFuture.get(2, TimeUnit.SECONDS);
16021602

16031603
// Wait for 3 applies with enough time for recovery (2s) + overhead
1604-
sink.awaitApplyCount(30000, 5, TimeUnit.SECONDS);
1604+
sink.awaitApplyCount(3, 5, TimeUnit.SECONDS);
16051605

16061606
// Should have called first synchronizer again after recovery
16071607
assertTrue(firstCallCount.get() >= 2 || secondCallCount.get() >= 1);

0 commit comments

Comments
 (0)