@@ -62,7 +62,7 @@ public void testRerouteIsCalledWhenAHotSpotIsDetected() {
62
62
}
63
63
64
64
@ TestLogging (
65
- value = "org.elasticsearch.cluster.routing.allocation.WriteLoadConstraintMonitor:DEBUG " ,
65
+ value = "org.elasticsearch.cluster.routing.allocation.WriteLoadConstraintMonitor:TRACE " ,
66
66
reason = "ensure we're skipping reroute for the right reason"
67
67
)
68
68
public void testRerouteIsNotCalledWhenStateIsNotRecovered () {
@@ -81,7 +81,7 @@ public void testRerouteIsNotCalledWhenStateIsNotRecovered() {
81
81
new MockLog .SeenEventExpectation (
82
82
"don't reroute due to global block" ,
83
83
WriteLoadConstraintMonitor .class .getCanonicalName (),
84
- Level .DEBUG ,
84
+ Level .TRACE ,
85
85
"skipping monitor as the cluster state is not recovered yet"
86
86
)
87
87
);
@@ -93,7 +93,7 @@ public void testRerouteIsNotCalledWhenStateIsNotRecovered() {
93
93
}
94
94
95
95
@ TestLogging (
96
- value = "org.elasticsearch.cluster.routing.allocation.WriteLoadConstraintMonitor:DEBUG " ,
96
+ value = "org.elasticsearch.cluster.routing.allocation.WriteLoadConstraintMonitor:TRACE " ,
97
97
reason = "ensure we're skipping reroute for the right reason"
98
98
)
99
99
public void testRerouteIsNotCalledWhenDeciderIsNotEnabled () {
@@ -117,7 +117,7 @@ public void testRerouteIsNotCalledWhenDeciderIsNotEnabled() {
117
117
new MockLog .SeenEventExpectation (
118
118
"don't reroute due to decider being disabled" ,
119
119
WriteLoadConstraintMonitor .class .getCanonicalName (),
120
- Level .DEBUG ,
120
+ Level .TRACE ,
121
121
"skipping monitor because the write load decider is not fully enabled"
122
122
)
123
123
);
@@ -129,7 +129,7 @@ public void testRerouteIsNotCalledWhenDeciderIsNotEnabled() {
129
129
}
130
130
131
131
@ TestLogging (
132
- value = "org.elasticsearch.cluster.routing.allocation.WriteLoadConstraintMonitor:DEBUG " ,
132
+ value = "org.elasticsearch.cluster.routing.allocation.WriteLoadConstraintMonitor:TRACE " ,
133
133
reason = "ensure we're skipping reroute for the right reason"
134
134
)
135
135
public void testRerouteIsNotCalledWhenNoNodesAreHotSpotting () {
@@ -146,7 +146,7 @@ public void testRerouteIsNotCalledWhenNoNodesAreHotSpotting() {
146
146
new MockLog .SeenEventExpectation (
147
147
"don't reroute due to no nodes hot-spotting" ,
148
148
WriteLoadConstraintMonitor .class .getCanonicalName (),
149
- Level .DEBUG ,
149
+ Level .TRACE ,
150
150
"No hot-spotting nodes detected"
151
151
)
152
152
);
@@ -196,7 +196,7 @@ public void testRerouteIsNotCalledAgainBeforeMinimumIntervalHasPassed() {
196
196
"don't reroute due to reroute being called recently" ,
197
197
WriteLoadConstraintMonitor .class .getCanonicalName (),
198
198
Level .DEBUG ,
199
- "Not calling reroute because we called reroute recently and there are no new hot spots"
199
+ "Not calling reroute because we called reroute * ago and there are no new hot spots"
200
200
)
201
201
);
202
202
writeLoadConstraintMonitor .onNewInfo (testState .clusterInfo );
@@ -213,7 +213,7 @@ public void testRerouteIsNotCalledAgainBeforeMinimumIntervalHasPassed() {
213
213
}
214
214
215
215
@ TestLogging (
216
- value = "org.elasticsearch.cluster.routing.allocation.WriteLoadConstraintMonitor:DEBUG " ,
216
+ value = "org.elasticsearch.cluster.routing.allocation.WriteLoadConstraintMonitor:TRACE " ,
217
217
reason = "ensure we're skipping reroute for the right reason"
218
218
)
219
219
public void testRerouteIsCalledBeforeMinimumIntervalHasPassedIfNewNodesBecomeHotSpotted () {
0 commit comments