Remove deprecated ResponseFuture timeout parameter · apache/cassandra-python-driver@031ebb0 · GitHub
Skip to content

Commit 031ebb0

Browse files
committed
Remove deprecated ResponseFuture timeout parameter
1 parent 75ddc51 commit 031ebb0

3 files changed

Lines changed: 7 additions & 30 deletions

File tree

cassandra/cluster.py

Lines changed: 5 additions & 28 deletions

tests/integration/standard/test_custom_payload.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,6 @@ def execute_async_validate_custom_payload(self, statement, custom_payload):
162162
# Submit the statement with our custom payload. Validate the one
163163
# we receive from the server matches
164164
response_future = self.session.execute_async(statement, custom_payload=custom_payload)
165-
response_future.result(timeout=10.0)
165+
response_future.result()
166166
returned_custom_payload = response_future.custom_payload
167167
self.assertEqual(custom_payload, returned_custom_payload)

tests/integration/standard/test_query.py

Lines changed: 1 addition & 1 deletion

0 commit comments

Comments
 (0)