Merge branch 'stable-2.14' into stable-2.15
* stable-2.14: Make ElasticReindexIT tests fail if test container fails to start Change-Id: I99a05df36ed273bb0af6c670d329a9e95a3505da
This commit is contained in:
@@ -29,12 +29,8 @@ public class ElasticReindexIT extends AbstractReindexTests {
|
||||
@ConfigSuite.Default
|
||||
public static Config elasticsearch() {
|
||||
ElasticNodeInfo elasticNodeInfo;
|
||||
try {
|
||||
container = ElasticContainer.createAndStart();
|
||||
elasticNodeInfo = new ElasticNodeInfo(container.getHttpHost().getPort());
|
||||
} catch (Throwable t) {
|
||||
return null;
|
||||
}
|
||||
container = ElasticContainer.createAndStart();
|
||||
elasticNodeInfo = new ElasticNodeInfo(container.getHttpHost().getPort());
|
||||
String indicesPrefix = UUID.randomUUID().toString();
|
||||
Config cfg = new Config();
|
||||
ElasticTestUtils.configure(cfg, elasticNodeInfo.port, indicesPrefix);
|
||||
|
||||
Reference in New Issue
Block a user