Skip to content

Commit 67f7b52

Browse files
committed
Fix local settings test (main)
This PR fixes a test that started failing after the settings changes added in duckdb/duckdb#20519 . `v1.5-variagata` PR - #530
1 parent 9a7562c commit 67f7b52

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/test/java/org/duckdb/TestDuckDBJDBC.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -917,11 +917,11 @@ public static void test_invalid_config() throws Exception {
917917

918918
public static void test_valid_but_local_config_throws_exception() throws Exception {
919919
Properties info = new Properties();
920-
info.put("errors_as_json", "true");
920+
info.put("custom_profiling_settings", "{}");
921921

922922
String message = assertThrows(() -> DriverManager.getConnection(JDBC_URL, info), SQLException.class);
923923

924-
assertTrue(message.contains("Could not set option \"errors_as_json\" as a global option"));
924+
assertTrue(message.contains("Could not set option \"custom_profiling_settings\" as a global option"));
925925
}
926926

927927
private static String getSetting(Connection conn, String settingName) throws Exception {

0 commit comments

Comments
 (0)