We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0e84a02 commit 17878bbCopy full SHA for 17878bb
src/test/java/com/salesforce/datacloud/jdbc/core/JDBCLimitsTest.java
@@ -46,9 +46,11 @@ public void testLargeQuery() {
46
public void testTooLargeQuery() {
47
String query = "SELECT 'a', /*" + StringUtils.repeat('x', 65 * 1024 * 1024) + "*/ 'b'";
48
assertWithStatement(statement -> {
49
- assertThatExceptionOfType(DataCloudJDBCException.class).isThrownBy(() -> {
50
- statement.executeQuery(query);
51
- });
+ assertThatExceptionOfType(DataCloudJDBCException.class)
+ .isThrownBy(() -> {
+ statement.executeQuery(query);
52
+ })
53
+ .withMessageEndingWith("<truncated>");
54
});
55
}
56
0 commit comments