Skip to content

Commit 7931069

Browse files
committed
iterating on tests
1 parent b2bf56f commit 7931069

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/unit/data/_async/test_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1016,7 +1016,7 @@ def test_client_ctor_sync(self):
10161016
# initializing client in a sync context should raise RuntimeError
10171017

10181018
with pytest.warns(RuntimeWarning) as warnings:
1019-
client = _make_client(project="project-id")
1019+
client = _make_client(project="project-id", use_emulator=False)
10201020
expected_warning = [w for w in warnings if "client.py" in w.filename]
10211021
assert len(expected_warning) == 1
10221022
assert (

tests/unit/data/_async/test_mutations_batcher.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -726,7 +726,7 @@ async def mock_call(*args, **kwargs):
726726
assert len(instance._oldest_exceptions) == 0
727727
assert len(instance._newest_exceptions) == 0
728728
# if flushes were sequential, total duration would be 1s
729-
assert duration < 0.25
729+
assert duration < 0.5
730730
assert op_mock.call_count == num_calls
731731

732732
@pytest.mark.asyncio

0 commit comments

Comments
 (0)