Increase logging in testRerouteOccursOnDiskPassingHighWatermark (#60817)

Relates #60587
This commit is contained in:
David Turner 2020-08-06 14:07:45 +01:00
parent a2c7991e96
commit 721198c29e

View File

@ -34,6 +34,7 @@ import org.elasticsearch.env.Environment;
import org.elasticsearch.monitor.fs.FsInfo;
import org.elasticsearch.plugins.Plugin;
import org.elasticsearch.test.ESIntegTestCase;
import org.elasticsearch.test.junit.annotations.TestLogging;
import java.nio.file.Path;
import java.util.Arrays;
@ -78,6 +79,9 @@ public class MockDiskUsagesIT extends ESIntegTestCase {
return new FsInfo.Path(original.getPath(), original.getMount(), totalBytes, freeBytes, freeBytes);
}
@TestLogging(reason="https://github.com/elastic/elasticsearch/issues/60587",
value="org.elasticsearch.cluster.InternalClusterInfoService:TRACE," +
"org.elasticsearch.cluster.routing.allocation.DiskThresholdMonitor:TRACE")
public void testRerouteOccursOnDiskPassingHighWatermark() throws Exception {
for (int i = 0; i < 3; i++) {
// ensure that each node has a single data path