8327854: Test java/util/stream/test/org/openjdk/tests/java/util/stream/WhileOpStatefulTest.java failed with RuntimeException
Reviewed-by: psandoz
This commit is contained in:
parent
a3479576c9
commit
27982c8f5d
@ -256,7 +256,7 @@ public class WhileOpStatefulTest extends OpTestCase {
|
||||
EXECUTION_TIME_LIMIT);
|
||||
return s.peek(e -> {
|
||||
if (!isWithinExecutionPeriod.getAsBoolean()) {
|
||||
throw new RuntimeException();
|
||||
throw new RuntimeException("Execution time limit exceeded!");
|
||||
}
|
||||
});
|
||||
});
|
||||
@ -266,7 +266,7 @@ public class WhileOpStatefulTest extends OpTestCase {
|
||||
return s.parallel()
|
||||
.peek(e -> {
|
||||
if (!isWithinExecutionPeriod.getAsBoolean()) {
|
||||
throw new RuntimeException();
|
||||
throw new RuntimeException("Execution time limit exceeded!");
|
||||
}
|
||||
});
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user