use of io.pravega.segmentstore.storage.StorageFactory in project pravega by pravega.
the class NoOpStorageFactoryTest method testCreateSyncStorage.
@Test(expected = UnsupportedOperationException.class)
public void testCreateSyncStorage() {
StorageExtraConfig config = StorageExtraConfig.builder().build();
@Cleanup("shutdownNow") ScheduledExecutorService executor = ExecutorServiceHelpers.newScheduledThreadPool(1, "test");
StorageFactory factory = new NoOpStorageFactory(config, executor, new InMemoryStorageFactory(executor), null);
factory.createSyncStorage();
}
Aggregations