Tests: Forbid @Slow

Now that all uses of @Slow are gone, we can forbid this annotations use
so tests are not confusing. Follow up to #12617.
This commit is contained in:
Ryan Ernst 2015-08-03 16:43:09 -07:00
parent ae701e4f6e
commit 32a5c20b33
2 changed files with 2 additions and 1 deletions

View File

@ -19,3 +19,4 @@ com.carrotsearch.randomizedtesting.annotations.Seed @ Don't commit hardcoded see
com.carrotsearch.randomizedtesting.annotations.Repeat @ Don't commit hardcoded repeats
org.apache.lucene.codecs.Codec#setDefault(org.apache.lucene.codecs.Codec) @ Use the SuppressCodecs("*") annotation instead
org.apache.lucene.util.LuceneTestCase$Slow @ Don't write slow tests

View File

@ -77,7 +77,7 @@ public class S3OutputStreamTest extends ElasticsearchTestCase {
}
@Test @Slow
@Test
public void testWriteExactlyNTimesMoreDataThanBufferSize() throws IOException {
int n = randomIntBetween(2, 3);
int length = n * BUFFER_SIZE;