Skip to content

Commit

Permalink
custom in container path
Browse files Browse the repository at this point in the history
Signed-off-by: Andre Kurait <[email protected]>
  • Loading branch information
AndreKurait committed Dec 11, 2024
1 parent e60782f commit 417fa54
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
package org.opensearch.migrations.bulkload.framework;

import java.io.File;
import java.nio.file.Path;
import java.time.Duration;
import java.util.Map;

import org.junit.jupiter.api.io.TempDir;
import org.opensearch.migrations.Version;

import com.google.common.collect.ImmutableMap;
Expand All @@ -20,7 +22,7 @@
*/
@Slf4j
public class SearchClusterContainer extends GenericContainer<SearchClusterContainer> {
public static final String CLUSTER_SNAPSHOT_DIR = "/tmp/snapshots";
public static final String CLUSTER_SNAPSHOT_DIR = System.getProperty("java.io.tmpdir", "/tmp/snapshots/notfound");
public static final ContainerVersion ES_V7_17 = new ElasticsearchVersion(
"docker.elastic.co/elasticsearch/elasticsearch:7.17.22",
Version.fromString("ES 7.17.22")
Expand Down

0 comments on commit 417fa54

Please sign in to comment.