Skip to content

Commit

Permalink
SQL: [Tests] Fix integration test
Browse files Browse the repository at this point in the history
Fix issue with VARCHAR display size (copied from 7.x)
Follows: 4797347
  • Loading branch information
matriv committed Feb 11, 2020
1 parent 4797347 commit 6075a77
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -175,8 +175,7 @@ public void testNextPageWithDatetimeAndTimezoneParam() throws IOException {
Map<String, Object> response;

if (i == 0) {
expected.put("columns", singletonList(columnInfo(mode, "date", "keyword", JDBCType.VARCHAR,
Integer.MAX_VALUE)));
expected.put("columns", singletonList(columnInfo(mode, "date", "keyword", JDBCType.VARCHAR, 0)));
response = runSql(new StringEntity(sqlRequest, ContentType.APPLICATION_JSON), "");
} else {
response = runSql(new StringEntity("{\"cursor\":\"" + cursor + "\"" + mode(mode) + "}",
Expand Down

0 comments on commit 6075a77

Please sign in to comment.