Skip to content

Commit ef50f7b

Browse files
committed
fix: add fallback values for db2 test gateway connection correctly
1 parent 34e5c02 commit ef50f7b

1 file changed

Lines changed: 11 additions & 10 deletions

File tree

tests/core/engine_adapter/integration/config.yaml

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -214,18 +214,19 @@ gateways:
214214
# # which is the Db2 default when no schema is specified).
215215
# db2_schema: {{ env_var('DB2_SCHEMA', env_var('DB2_USERNAME')) }}
216216
# check_import: false
217-
inttest_db2:
218-
connection:
219-
type: db2
220-
host: {{ env_var('DOCKER_HOSTNAME', 'localhost') }}
221-
port: {{ env_var('DB2_PORT', '50001') }}
222-
database: {{ env_var('DB2_DATABASE', 'testdb') }}
223-
username: {{ env_var('DB2_USERNAME', 'db2inst1') }}
224-
password: {{ env_var('DB2_PASSWORD', 'password') }}
225-
db2_schema: {{ env_var('DB2_SCHEMA', 'DB2INST1') }}
226-
check_import: false
217+
inttest_db2:
218+
connection:
219+
type: db2
220+
host: {{ env_var('DOCKER_HOSTNAME', 'localhost') }}
221+
port: {{ env_var('DB2_PORT', '50001') }}
222+
database: {{ env_var('DB2_DATABASE', 'testdb') }}
223+
username: {{ env_var('DB2_USERNAME', 'db2inst1') }}
224+
password: {{ env_var('DB2_PASSWORD', 'password') }}
225+
db2_schema: {{ env_var('DB2_SCHEMA', 'DB2INST1') }}
226+
check_import: false
227227
state_connection:
228228
type: duckdb
229+
# ... keep whatever was here before ...
229230

230231
inttest_fabric:
231232
connection:

0 commit comments

Comments
 (0)