Skip to content

Commit 0516259

Browse files
committed
Fix tests
1 parent 39ad8c9 commit 0516259

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tests/client/test_http.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ def test_client_multithreaded():
284284
]
285285
num_threads = 5
286286
num_commands = 1000
287-
thread_timeout = 5.0 # seconds
287+
thread_timeout = 10.0 # seconds
288288

289289
gate = Event()
290290
error_queue = queue.Queue()

tests/client/test_serialization.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,8 @@ def test_uuid_serialization():
116116
We do not care about specific uuid versions, just the object that is
117117
re-used across all versions of the uuid module.
118118
"""
119+
uuid_int = 50583033507982468033520929066863110751
119120
data = uuid.UUID(
120-
bytes=(50583033507982468033520929066863110751).to_bytes(16),
121-
version=4)
121+
bytes=uuid_int.to_bytes(16, byteorder='big'), version=4)
122122
result = json_dumps(data)
123123
assert result == b'"260df019-a183-431f-ad46-115ccdf12a5f"'

0 commit comments

Comments
 (0)