use of com.walmartlabs.concord.sdk.LockService in project concord-plugins by walmartlabs.
the class BackendManagerTest method setUp.
@Before
public void setUp() throws Exception {
Path tmpDir = Paths.get("/tmp/concord");
if (!Files.exists(tmpDir)) {
Files.createDirectories(tmpDir);
}
dstDir = Files.createTempDirectory(tmpDir, "test");
Context ctx = new MockContext(Collections.singletonMap("workDir", dstDir.toAbsolutePath().toString()));
LockService lockService = mock(LockService.class);
ObjectStorage objectStorage = TerraformTaskTest.createObjectStorage(wireMockRule);
backendManager = new BackendFactoryV1(ctx, lockService, objectStorage);
}
Aggregations