Skip to content

Commit 9999506

Browse files
committed
document
1 parent 620c477 commit 9999506

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tests/test_iceberg_handlerv2.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@ def test_iceberg_handler(self):
8080
"s3.access-key-id": S3Minio.AWS_ACCESS_KEY_ID,
8181
"s3.secret-access-key": S3Minio.AWS_SECRET_ACCESS_KEY,
8282
}
83-
catalog = load_catalog(name="rest", **catalog_conf)
84-
handler = IcebergChangeHandlerV2(catalog=catalog,
83+
dbz_catalog = load_catalog(name="rest", **catalog_conf)
84+
handler = IcebergChangeHandlerV2(catalog=dbz_catalog,
8585
destination_namespace=(dest_ns1_database, dest_ns2_schema,),
8686
event_flattening_enabled=True
8787
)
@@ -90,6 +90,8 @@ def test_iceberg_handler(self):
9090

9191
Utils.run_engine_async(engine=engine, timeout_sec=77, blocking=False)
9292

93+
# TEST
94+
catalog = load_catalog(name="rest", **catalog_conf)
9395
test_ns = (dest_ns1_database,)
9496
print(catalog.list_namespaces())
9597
self._wait_for_condition(

0 commit comments

Comments
 (0)