Search in sources :

Example 1 with TestingBlobStoreBuilder

use of org.apache.flink.runtime.blob.TestingBlobStoreBuilder in project flink by apache.

the class DispatcherResourceCleanupTest method setup.

@Before
public void setup() throws Exception {
    jobGraph = JobGraphTestUtils.singleNoOpJobGraph();
    jobId = jobGraph.getJobID();
    globalCleanupFuture = new CompletableFuture<>();
    localCleanupFuture = new CompletableFuture<>();
    blobServer = BlobUtils.createBlobServer(new Configuration(), Reference.owned(temporaryFolder.newFolder()), new TestingBlobStoreBuilder().createTestingBlobStore());
}
Also used : Configuration(org.apache.flink.configuration.Configuration) TestingBlobStoreBuilder(org.apache.flink.runtime.blob.TestingBlobStoreBuilder) Before(org.junit.Before)

Aggregations

Configuration (org.apache.flink.configuration.Configuration)1 TestingBlobStoreBuilder (org.apache.flink.runtime.blob.TestingBlobStoreBuilder)1 Before (org.junit.Before)1