Skip to content

Commit

Permalink
fix: use a looser check on the error msg for overflow (#8098)
Browse files Browse the repository at this point in the history
  • Loading branch information
rodesai committed Sep 7, 2021
1 parent 22a79bc commit 0088fb1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2024,7 +2024,7 @@ public void shouldReturnErrorMessageIfStackOverflowErrorWhenParsingStatement() {
// Then:
assertThat(result.getErrorCode(), is(Errors.ERROR_CODE_BAD_STATEMENT));
assertThat(result.getMessage(),
containsString("Failed to prepare statement: Error processing statement: Statement is too large to parse. "
containsString("Statement is too large to parse. "
+ "This may be caused by having too many nested expressions in the statement."));
}

Expand Down

0 comments on commit 0088fb1

Please sign in to comment.