Skip to content

Commit

Permalink
Try to force StackOverflowError by increasing the depth constant
Browse files Browse the repository at this point in the history
The test failed to generate the expected StackOverflowError,
so with this commit I try to force the error again.
  • Loading branch information
PieterOlivier committed Jun 18, 2024
1 parent 478d5f7 commit 16ad307
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ public void testStringReplace(IValueFactory vf) {

@ParameterizedTest @ArgumentsSource(ValueProvider.class)
public void neverRunOutOfStack(IValueFactory vf) {
int outofStack = 30000;
int outofStack = 100000;

// first we have to know for sure that we would run out of stack with @see
// outOfStack iterations:
Expand Down

0 comments on commit 16ad307

Please sign in to comment.