Skip to content

Commit 5b62238

Browse files
committed
SynchronizerStateManager tests.
1 parent ec0d0ec commit 5b62238

3 files changed

Lines changed: 428 additions & 2 deletions

File tree

lib/sdk/server/src/main/java/com/launchdarkly/sdk/server/FDv2DataSource.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,8 @@ private boolean runSynchronizers() {
232232
FDv2SourceResult.Status status = result.getStatus();
233233
switch (status.getState()) {
234234
case INTERRUPTED:
235-
// TODO: Track how long we are interrupted.
235+
// Handled by conditions.
236+
// TODO: Data source status.
236237
break;
237238
case SHUTDOWN:
238239
// We should be overall shutting down.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,4 +319,4 @@ public void closeBeforeExecuteDoesNotPreventFutureAccess() throws Exception {
319319
// Future should not be complete (timer was cancelled)
320320
assertFalse(resultFuture.isDone());
321321
}
322-
}
322+
}

0 commit comments

Comments
 (0)