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:
Marco Miller
2018-07-13 11:16:22 -04:00
parent dec3da19ee
commit aa329d43b1

View File

@@ -67,7 +67,7 @@ public class ElasticV5QueryProjectsTest extends AbstractQueryProjectsTest {
Config elasticsearchConfig = new Config(config);
InMemoryModule.setDefaults(elasticsearchConfig);
String indicesPrefix = testName();
ElasticTestUtils.configure(elasticsearchConfig, nodeInfo.port, indicesPrefix);
ElasticTestUtils.configure(elasticsearchConfig, nodeInfo.port, indicesPrefix, "changeme");
return Guice.createInjector(new InMemoryModule(elasticsearchConfig, notesMigration));
}
}