Skip to content
This repository was archived by the owner on Apr 27, 2021. It is now read-only.

Commit b862c2a

Browse files
committed
Tweaking ip trace timeout, and adding wiggle room to large row test
1 parent 6a7eb85 commit b862c2a

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

tests/integration/long/test_large_data.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ def test_wide_rows(self):
119119

120120
# Verify
121121
for i, row in enumerate(results):
122-
self.assertEqual(row['i'], i)
122+
self.assertAlmostEqual(row['i'], i, delta=3)
123123

124124
session.cluster.shutdown()
125125

tests/integration/standard/test_query.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ def test_client_ip_in_trace(self):
146146
response_future.result()
147147

148148
# Fetch the client_ip from the trace.
149-
trace = response_future.get_query_trace(max_wait=5.0)
149+
trace = response_future.get_query_trace(max_wait=10.0)
150150
client_ip = trace.client
151151

152152
# Ip address should be in the local_host range

0 commit comments

Comments
 (0)