Skip to content

Commit

Permalink
Add logging for testScaleDuringSplitOrClone (#98058)
Browse files Browse the repository at this point in the history
Relates #96764
  • Loading branch information
pxsalehi authored Jul 31, 2023
1 parent c871e8f commit 8b17993
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
import org.elasticsearch.node.Node;
import org.elasticsearch.test.ESIntegTestCase;
import org.elasticsearch.test.NodeRoles;
import org.elasticsearch.test.junit.annotations.TestLogging;
import org.elasticsearch.transport.TransportService;
import org.elasticsearch.xpack.autoscaling.action.GetAutoscalingCapacityAction;
import org.elasticsearch.xpack.autoscaling.action.PutAutoscalingPolicyAction;
Expand Down Expand Up @@ -394,6 +395,12 @@ public void testScaleWhileShrinking() throws Exception {
);
}

@TestLogging(
reason = "Debugging https://github.com/elastic/elasticsearch/issues/96764",
value = "org.elasticsearch.cluster.InternalClusterInfoService:TRACE"
+ ",org.elasticsearch.xpack.autoscaling.action:TRACE"
+ ",org.elasticsearch.cluster.routing.allocation:DEBUG"
)
public void testScaleDuringSplitOrClone() throws Exception {
internalCluster().startMasterOnlyNode();
final String dataNode1Name = internalCluster().startDataOnlyNode();
Expand Down

0 comments on commit 8b17993

Please sign in to comment.