From 762aac8669cd4ca006e19291f960a481d2c49ffb Mon Sep 17 00:00:00 2001 From: Stepan Burlakov Date: Tue, 30 Jul 2024 13:47:51 +0300 Subject: [PATCH] add unit test --- .../com/firebolt/jdbc/connection/FireboltConnectionTest.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/test/java/com/firebolt/jdbc/connection/FireboltConnectionTest.java b/src/test/java/com/firebolt/jdbc/connection/FireboltConnectionTest.java index 7428a4db5..a372e3b98 100644 --- a/src/test/java/com/firebolt/jdbc/connection/FireboltConnectionTest.java +++ b/src/test/java/com/firebolt/jdbc/connection/FireboltConnectionTest.java @@ -336,6 +336,7 @@ void shouldValidateConnectionWhenCallingIsValid() throws SQLException { verify(fireboltStatementService).execute(queryInfoWrapperArgumentCaptor.capture(), propertiesArgumentCaptor.capture(), any()); assertEquals(List.of("SELECT 1"), queryInfoWrapperArgumentCaptor.getAllValues().stream().map(StatementInfoWrapper::getSql).collect(toList())); + assertEquals(Map.of("auto_start_stop_control", "ignore"), propertiesArgumentCaptor.getValue().getAdditionalProperties()); } }