Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,13 @@ public void DataUpdateService_Register_AutoUpdateConfiguredInterval() {
file.setEngine(engine);
file.setConfiguration(config);

// With no polling interval the delay is the random number of whole
// seconds alone, which can be 0. The check is not run, so a check
// that starts at once cannot schedule again before the verify.
doReturn(mock(ScheduledFuture.class)).when(futureFactory).schedule(
any(Runnable.class),
anyLong());

// Act
dataUpdate.registerDataFile(file);

Expand Down
Loading