Skip to content

Commit e9a1296

Browse files
authored
Fix SEA circuit breaker integration tests (#1149)
## Description <!-- Provide a brief summary of the changes made and the issue they aim to address.--> Fix SEA circuit breaker integration tests ## Testing <!-- Describe how the changes have been tested--> Verified locally ## Additional Notes to the Reviewer <!-- Share any additional context or insights that may help the reviewer understand the changes better. This could include challenges faced, limitations, or compromises made during the development process. Also, mention any areas of the code that you would like the reviewer to focus on specifically. --> NO_CHANGELOG=true
1 parent be61166 commit e9a1296

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/test/java/com/databricks/jdbc/integration/fakeservice/tests/CircuitBreakerIntegrationTests.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,10 @@ private Connection getConnectionWithoutThriftClientParam() throws SQLException {
8888
connectionProperties.put(DatabricksJdbcUrlParams.UID.getParamName(), getDatabricksUser());
8989
connectionProperties.put(DatabricksJdbcUrlParams.PASSWORD.getParamName(), getDatabricksToken());
9090
connectionProperties.put(
91-
DatabricksJdbcUrlParams.ENABLE_SQL_EXEC_HYBRID_RESULTS.getParamName(), '0');
91+
DatabricksJdbcUrlParams.ENABLE_SQL_EXEC_HYBRID_RESULTS.getParamName(), "0");
92+
connectionProperties.put(
93+
DatabricksJdbcUrlParams.OIDC_DISCOVERY_MODE.getParamName(),
94+
"0"); // Disable OIDC discovery for fake service tests
9295

9396
if (DriverUtil.isRunningAgainstFake()) {
9497
connectionProperties.putIfAbsent(

0 commit comments

Comments
 (0)