add nocommit; try to fix false test failure due to concurrent check index running while primary is still closing

This commit is contained in:
Mike McCandless 2016-02-03 16:45:46 -05:00
parent 8889469b8b
commit 7af83c486b
2 changed files with 3 additions and 3 deletions

View File

@ -157,9 +157,7 @@ class NodeProcess implements Closeable {
throw new RuntimeException("shutdown failed");
}
} catch (Throwable t) {
System.out.println("top: shutdown failed; skipping");
t.printStackTrace(System.out);
return false;
System.out.println("top: shutdown failed; ignoring");
}
try {
p.waitFor();

View File

@ -37,6 +37,8 @@ import org.apache.lucene.util.LuceneTestCase.SuppressSysoutChecks;
import com.carrotsearch.randomizedtesting.SeedUtils;
// nocommit make some explicit failure tests
// MockRandom's .sd file has no index header/footer:
@SuppressCodecs({"MockRandom", "Memory", "Direct", "SimpleText"})
@SuppressSysoutChecks(bugUrl = "Stuff gets printed, important stuff for debugging a failure")