Skip to content

Commit efc6b31

Browse files
Enable TRACE for testRecoverBrokenIndexMetadata (#43081)
Relates to #43034
1 parent 46c8f28 commit efc6b31

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

server/src/test/java/org/elasticsearch/gateway/GatewayIndexStateIT.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@
5151
import org.elasticsearch.test.ESIntegTestCase.ClusterScope;
5252
import org.elasticsearch.test.ESIntegTestCase.Scope;
5353
import org.elasticsearch.test.InternalTestCluster.RestartCallback;
54+
import org.elasticsearch.test.junit.annotations.TestLogging;
5455

5556
import java.io.IOException;
5657
import java.util.List;
@@ -340,6 +341,8 @@ public Settings onNodeStopped(final String nodeName) throws Exception {
340341
* allocated in our metadata that we recover. In that case we now have the ability to check the index on local recovery from disk
341342
* if it is sane and if we can successfully create an IndexService. This also includes plugins etc.
342343
*/
344+
// temporarily enabling TRACE to aid debugging https://github.com/elastic/elasticsearch/issues/43034
345+
@TestLogging("_root:TRACE")
343346
public void testRecoverBrokenIndexMetadata() throws Exception {
344347
logger.info("--> starting one node");
345348
internalCluster().startNode();

0 commit comments

Comments
 (0)