Skip to content

Commit 291000c

Browse files
sumedhsakdeoclaude
andcommitted
fix: Skip namespace separator test when server uses default separator
The test_rest_custom_namespace_separator test expects the REST catalog to advertise '.' as the namespace separator, which only newer server versions do. Skip the test when the server uses the default '\x1f' separator to avoid failures with pinned image versions. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent e7ee3f8 commit 291000c

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tests/integration/test_catalog.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -614,6 +614,8 @@ def test_rest_custom_namespace_separator(rest_catalog: RestCatalog, table_schema
614614
Tests that the REST catalog correctly picks up the namespace-separator from the config endpoint.
615615
The REST Catalog is configured with a '.' namespace separator.
616616
"""
617+
if rest_catalog._namespace_separator != ".":
618+
pytest.skip("REST catalog server does not advertise '.' namespace separator")
617619
assert rest_catalog._namespace_separator == "."
618620

619621
unique_id = uuid.uuid4().hex

0 commit comments

Comments
 (0)