use of com.hazelcast.internal.hotrestart.NoOpHotRestartService in project hazelcast by hazelcast.
the class NoopHotRestartServicesTest method testNoOpHotRestartService.
@Test
public void testNoOpHotRestartService() {
final NoOpHotRestartService service = new NoOpHotRestartService();
service.backup();
service.backup(0);
service.getBackupTaskStatus();
service.interruptBackupTask();
service.interruptLocalBackupTask();
assertFalse(service.isHotBackupEnabled());
assertEquals(new BackupTaskStatus(BackupTaskState.NO_TASK, 0, 0), service.getBackupTaskStatus());
assertNull(service.getBackupDirectory());
}
Aggregations