Skip to content

Commit

Permalink
do not merge: local path
Browse files Browse the repository at this point in the history
Signed-off-by: Jeronimo Irazabal <jeronimo.irazabal@gmail.com>
  • Loading branch information
jeroiraz committed Nov 28, 2022
1 parent 9d89c08 commit dd36dce
Showing 1 changed file with 1 addition and 7 deletions.
Expand Up @@ -18,22 +18,16 @@
import org.testng.annotations.AfterClass;
import org.testng.annotations.BeforeClass;

import java.io.File;
import java.io.IOException;
import java.nio.file.Files;

public abstract class ImmuClientIntegrationTest {

protected static ImmuClient immuClient;
protected static File statesDir;

@BeforeClass
public static void beforeClass() throws IOException {
statesDir = Files.createTempDirectory("immudb_states").toFile();
statesDir.deleteOnExit();

FileImmuStateHolder stateHolder = FileImmuStateHolder.newBuilder()
.withStatesFolder(statesDir.getAbsolutePath())
.withStatesFolder("immudb/states")
.build();

immuClient = ImmuClient.newBuilder()
Expand Down

0 comments on commit dd36dce

Please sign in to comment.