mirror of https://github.com/apache/cassandra
cqlshlib tests: increase default execute timeout
Patch by Stefania Alborghetti; reviewed by Philip Thompson for CASSANDRA-12481
This commit is contained in:
parent
77924b37c9
commit
40c2d45c5e
|
|
@ -1,4 +1,5 @@
|
|||
2.2.8
|
||||
* cqlshlib tests: increase default execute timeout (CASSANDRA-12481)
|
||||
* Forward writes to replacement node when replace_address != broadcast_address (CASSANDRA-8523)
|
||||
* Enable repair -pr and -local together (fix regression of CASSANDRA-7450) (CASSANDRA-12522)
|
||||
* Fail repair on non-existing table (CASSANDRA-12279)
|
||||
|
|
|
|||
|
|
@ -116,6 +116,8 @@ def cassandra_cursor(cql_version=None, ks=''):
|
|||
conn = get_cassandra_connection(cql_version=cql_version)
|
||||
try:
|
||||
c = conn.connect(ks)
|
||||
# increase default timeout to fix flacky tests, see CASSANDRA-12481
|
||||
c.default_timeout = 60.0
|
||||
# if ks is not None:
|
||||
# c.execute('USE %s;' % quote_name(c, ks))
|
||||
yield c
|
||||
|
|
|
|||
Loading…
Reference in New Issue