> Sure, does this annotation make that happen automatically? so it
> doesn't run unless I set a certain flag, that the Hudson build sets?

Yes. Test groups are controlled by system properties (you pick the
names). The only one predefined is @Nightly which is enabled with
"-Dtests.nightly=on". See the definition here and you'll see how to
build up your own:

https://github.com/carrotsearch/randomizedtesting/blob/master/randomized-runner/src/main/java/com/carrotsearch/randomizedtesting/annotations/Nightly.java

Lucene's test groups are nested static class inside LuceneTestCase.

D.

Reply via email to