remove @Repeat annotation from test
Original commit: elastic/x-pack-elasticsearch@d5414a32e8
This commit is contained in:
parent
d41815ca18
commit
fad95315fb
|
@ -5,7 +5,6 @@
|
|||
*/
|
||||
package org.elasticsearch.watcher;
|
||||
|
||||
import com.carrotsearch.randomizedtesting.annotations.Repeat;
|
||||
import org.elasticsearch.test.ElasticsearchTestCase;
|
||||
import org.junit.Test;
|
||||
|
||||
|
@ -18,8 +17,8 @@ import static org.hamcrest.Matchers.is;
|
|||
public class WatcherVersionTests extends ElasticsearchTestCase {
|
||||
|
||||
@Test
|
||||
@Repeat(iterations = 100)
|
||||
public void testStrings() throws Exception {
|
||||
for (int i = 0; i < 100; i++) {
|
||||
boolean beta = randomBoolean();
|
||||
int buildNumber = beta ? randomIntBetween(0, 49) : randomIntBetween(0, 48);
|
||||
int major = randomIntBetween(0, 20);
|
||||
|
@ -52,4 +51,5 @@ public class WatcherVersionTests extends ElasticsearchTestCase {
|
|||
|
||||
assertThat(version.number(), equalTo(versionName));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue