Skip to content

Commit

Permalink
iter
Browse files Browse the repository at this point in the history
  • Loading branch information
javanna committed Jan 20, 2025
1 parent fca5510 commit 0ead72c
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
import org.elasticsearch.ElasticsearchException;
import org.elasticsearch.action.search.SearchRequestBuilder;
import org.elasticsearch.common.settings.Settings;
import org.elasticsearch.core.SuppressForbidden;
import org.elasticsearch.core.TimeValue;
import org.elasticsearch.plugins.Plugin;
import org.elasticsearch.script.MockScriptPlugin;
Expand Down Expand Up @@ -65,6 +66,7 @@ public void tearDown() throws Exception {
scriptExecutions.set(0);
}

@SuppressForbidden(reason = "just a test")
@Repeat(iterations = 100)
public void testTopHitsTimeout() {
SearchRequestBuilder searchRequestBuilder = prepareSearch("test").setTimeout(new TimeValue(100, TimeUnit.MILLISECONDS))
Expand All @@ -80,6 +82,7 @@ public void testTopHitsTimeout() {
});
}

@SuppressForbidden(reason = "just a test")
@Repeat(iterations = 100)
public void testAggsTimeout() {
SearchRequestBuilder searchRequestBuilder = prepareSearch("test").setTimeout(new TimeValue(100, TimeUnit.MILLISECONDS))
Expand Down

0 comments on commit 0ead72c

Please sign in to comment.