Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,9 @@ jobs:
- name: Build driver
run: uv sync

- name: Unit tests
run: uv run pytest tests/unit/test_*.py -x

- name: Cache Scylla download
uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
with:
Expand Down
2 changes: 2 additions & 0 deletions tests/unit/test_cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -591,13 +591,15 @@ def test_wait_for_schema_agreement_cluster_scope_excludes_hosts_with_unknown_sta
assert self._host_query_count(session, hosts[0]) == 0
assert self._host_query_count(session, hosts[1]) == 1

@pytest.mark.xfail(reason="scope validation not implemented (#917)", strict=False)
@mock_session_pools
def test_wait_for_schema_agreement_rejects_unknown_scope(self, *_):
session, _, _ = self._new_schema_agreement_session(["a"])

with pytest.raises(ValueError):
session.wait_for_schema_agreement(wait_time=1, scope='planet')

@pytest.mark.xfail(reason="_set_keyspace_for_all_pools passes only last pool errors (#915)", strict=False)
@mock_session_pools
def test_set_keyspace_for_all_pools_reports_all_errors(self, *_):
cluster = Cluster()
Expand Down
Loading