File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
client-v2/src/test/java/com/clickhouse/client
jdbc-v2/src/test/java/com/clickhouse/jdbc Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -135,7 +135,9 @@ public void testProxyWithCookies() {
135135 return ; // to specific setup for cloud, may be later
136136 }
137137
138- client .set (clientBuilder (initProxy (), true ).build ());
138+ client .set (clientBuilder (initProxy (), true )
139+ .setHttpCookiesEnabled (true )
140+ .build ());
139141 final int targetPort = getServer (ClickHouseProtocol .HTTP ).getPort ();
140142
141143 proxy .get ().addStubMapping (post (urlMatching ("/.*" ))
Original file line number Diff line number Diff line change @@ -1071,9 +1071,11 @@ public void testJSONWritingAsString() throws SQLException {
10711071 return ; // JSON was introduced in 24.10
10721072 }
10731073
1074+ Properties createProperties = new Properties ();
1075+ createProperties .put (ClientConfigProperties .serverSetting ("allow_experimental_json_type" ), "1" );
10741076 runQuery ("CREATE TABLE test_json (order Int8, "
10751077 + "json JSON"
1076- + ") ENGINE = MergeTree ORDER BY ()" );
1078+ + ") ENGINE = MergeTree ORDER BY ()" , createProperties );
10771079
10781080 // Insert random (valid) values
10791081 long seed = System .currentTimeMillis ();
You can’t perform that action at this time.
0 commit comments