mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
make sure seed and iteration are always logged, even if thrown exception is discarded upper in the call stack
This commit is contained in:
+3
-1
@@ -56,7 +56,9 @@ public class EditorStressTest extends AbstractEditorTest {
|
||||
}
|
||||
}
|
||||
catch (Throwable t) {
|
||||
throw new RuntimeException("Failed when run with seed=" + mySeed + " in iteration " + i, t);
|
||||
String message = "Failed when run with seed=" + mySeed + " in iteration " + i;
|
||||
System.out.println(message);
|
||||
throw new RuntimeException(message, t);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user