Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-astachowski committed Nov 5, 2024
1 parent 6295d2c commit 239f71c
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1021,7 +1021,8 @@ public void testGranularTimeFunctionsInUTC(String queryResultFormat) throws SQLE
@ParameterizedTest
@ArgumentsSource(SimpleFormatProvider.class)
public void testLargeStringRetrieval(String queryResultFormat) throws SQLException {
String originalMaxJsonStringLength = System.getProperty(ObjectMapperFactory.MAX_JSON_STRING_LENGTH_JVM);
String originalMaxJsonStringLength =
System.getProperty(ObjectMapperFactory.MAX_JSON_STRING_LENGTH_JVM);
System.clearProperty(ObjectMapperFactory.MAX_JSON_STRING_LENGTH_JVM);
String tableName = "maxJsonStringLength_table";
int colLength = 16777216;
Expand All @@ -1046,7 +1047,8 @@ public void testLargeStringRetrieval(String queryResultFormat) throws SQLExcepti
fail("executeQuery should not fail");
} finally {
if (originalMaxJsonStringLength != null) {
System.setProperty(ObjectMapperFactory.MAX_JSON_STRING_LENGTH_JVM, originalMaxJsonStringLength);
System.setProperty(
ObjectMapperFactory.MAX_JSON_STRING_LENGTH_JVM, originalMaxJsonStringLength);
}
}
}
Expand Down

0 comments on commit 239f71c

Please sign in to comment.