Skip to content
Merged
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
2 changes: 1 addition & 1 deletion tests/catalog/test_hive.py
Original file line number Diff line number Diff line change
Expand Up @@ -1314,8 +1314,8 @@ def test_hive_wait_for_lock() -> None:
assert catalog._client.check_lock.call_count == 3

# lock wait should exit with WaitingForLockException finally after enough retries
catalog._client.check_lock.reset_mock()
catalog._client.check_lock.side_effect = [waiting for _ in range(10)]
catalog._client.check_lock.call_count = 0
with pytest.raises(WaitingForLockException):
catalog._wait_for_lock("db", "tbl", lockid, catalog._client)
assert catalog._client.check_lock.call_count == 5
Expand Down