ElasticV5QueryProjectsTest: add password to config
Before this fix, these tests were failing, out of 401 Unauthorized exceptions. The sibling ElasticV5Query test classes do configure that password properly. Bug: Issue 9424 Change-Id: I290c8af2536bb42ad7879a476680d598ea9131c5
This commit is contained in:
@@ -67,7 +67,7 @@ public class ElasticV5QueryProjectsTest extends AbstractQueryProjectsTest {
|
|||||||
Config elasticsearchConfig = new Config(config);
|
Config elasticsearchConfig = new Config(config);
|
||||||
InMemoryModule.setDefaults(elasticsearchConfig);
|
InMemoryModule.setDefaults(elasticsearchConfig);
|
||||||
String indicesPrefix = testName();
|
String indicesPrefix = testName();
|
||||||
ElasticTestUtils.configure(elasticsearchConfig, nodeInfo.port, indicesPrefix);
|
ElasticTestUtils.configure(elasticsearchConfig, nodeInfo.port, indicesPrefix, "changeme");
|
||||||
return Guice.createInjector(new InMemoryModule(elasticsearchConfig, notesMigration));
|
return Guice.createInjector(new InMemoryModule(elasticsearchConfig, notesMigration));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user