|
|
@@ -52,7 +52,6 @@ import org.elasticsearch.test.ESIntegTestCase;
|
|
|
import org.elasticsearch.test.ESIntegTestCase.ClusterScope;
|
|
|
import org.elasticsearch.test.ESIntegTestCase.Scope;
|
|
|
import org.elasticsearch.test.InternalTestCluster.RestartCallback;
|
|
|
-import org.elasticsearch.test.junit.annotations.TestLogging;
|
|
|
|
|
|
import java.io.IOException;
|
|
|
import java.util.List;
|
|
|
@@ -76,6 +75,12 @@ public class GatewayIndexStateIT extends ESIntegTestCase {
|
|
|
|
|
|
private final Logger logger = LogManager.getLogger(GatewayIndexStateIT.class);
|
|
|
|
|
|
+ @Override
|
|
|
+ protected boolean addMockInternalEngine() {
|
|
|
+ // testRecoverBrokenIndexMetadata replies on the flushing on shutdown behavior which can be randomly disabled in MockInternalEngine.
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+
|
|
|
public void testMappingMetaDataParsed() throws Exception {
|
|
|
logger.info("--> starting 1 nodes");
|
|
|
internalCluster().startNode();
|
|
|
@@ -346,8 +351,6 @@ public class GatewayIndexStateIT extends ESIntegTestCase {
|
|
|
* allocated in our metadata that we recover. In that case we now have the ability to check the index on local recovery from disk
|
|
|
* if it is sane and if we can successfully create an IndexService. This also includes plugins etc.
|
|
|
*/
|
|
|
- // temporarily enabling TRACE to aid debugging https://github.com/elastic/elasticsearch/issues/43034
|
|
|
- @TestLogging("_root:TRACE")
|
|
|
public void testRecoverBrokenIndexMetadata() throws Exception {
|
|
|
logger.info("--> starting one node");
|
|
|
internalCluster().startNode();
|