Skip to content

Commit c4b07c3

Browse files
committed
[TEST] If local gw is enforce don't use a RAM store
1 parent 84a9c75 commit c4b07c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/org/elasticsearch/test/ElasticsearchSingleNodeTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ private static Node newNode(boolean localGateway) {
135135
.put("script.indexed", "on")
136136
.put(EsExecutors.PROCESSORS, 1) // limit the number of threads created
137137
.put("http.enabled", false)
138-
.put("index.store.type", "ram")
138+
.put("index.store.type", localGateway ? "fs" : "ram")
139139
.put("config.ignore_system_properties", true) // make sure we get what we set :)
140140
.put("gateway.type", localGateway ? "local" : "none")).build();
141141
build.start();

0 commit comments

Comments
 (0)