Skip to content

Commit 17d2e55

Browse files
committed
Suppress forbidden API for testing
1 parent 9ec2ef5 commit 17d2e55

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

server/src/internalClusterTest/java/org/elasticsearch/action/search/TransportSearchIT.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
import org.elasticsearch.common.settings.Settings;
3232
import org.elasticsearch.common.util.LongArray;
3333
import org.elasticsearch.common.util.concurrent.AtomicArray;
34+
import org.elasticsearch.core.SuppressForbidden;
3435
import org.elasticsearch.core.TimeValue;
3536
import org.elasticsearch.index.IndexSettings;
3637
import org.elasticsearch.index.query.RangeQueryBuilder;
@@ -447,6 +448,7 @@ public void testSearchIdle() throws Exception {
447448
);
448449
}
449450

451+
@SuppressForbidden(reason = "testing")
450452
@Repeat(iterations = 100)
451453
public void testCircuitBreakerReduceFail() throws Exception {
452454
int numShards = randomIntBetween(1, 10);

0 commit comments

Comments
 (0)