Skip to content

Commit 2906d20

Browse files
committed
Test: Replace rest-scan-planning-enabled with scan-planning-mode
1 parent 3bd5f27 commit 2906d20

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

tests/catalog/test_scan_planning_models.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def rest_scan_catalog(requests_mock: Mocker) -> RestCatalog:
4848
requests_mock.get(
4949
f"{TEST_URI}v1/config",
5050
json={
51-
"defaults": {"rest-scan-planning-enabled": "true"},
51+
"defaults": {"scan-planning-mode": "server"},
5252
"overrides": {},
5353
"endpoints": [
5454
"POST /v1/{prefix}/namespaces/{namespace}/tables/{table}/plan",
@@ -61,7 +61,7 @@ def rest_scan_catalog(requests_mock: Mocker) -> RestCatalog:
6161
return RestCatalog(
6262
"test",
6363
uri=TEST_URI,
64-
**{"rest-scan-planning-enabled": "true"},
64+
**{"scan-planning-mode": "server"},
6565
)
6666

6767

tests/integration/test_rest_scan_planning_integration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ def scan_catalog() -> Catalog:
7676
"s3.endpoint": "http://localhost:9000",
7777
"s3.access-key-id": "admin",
7878
"s3.secret-access-key": "password",
79-
"rest-scan-planning-enabled": "true",
79+
"scan-planning-mode": "server",
8080
},
8181
)
8282
catalog.create_namespace_if_not_exists("default")

0 commit comments

Comments
 (0)