20
20
21
21
from tests .integration import use_singledc , get_cluster , remove_cluster , PROTOCOL_VERSION , CASSANDRA_IP , \
22
22
set_default_cass_ip
23
- from tests .integration .util import assert_quiescent_pool_state , assert_quiescent_pool_state_with_wait
23
+ from tests .integration .util import assert_quiescent_pool_state
24
24
25
25
try :
26
26
import unittest2 as unittest
@@ -93,7 +93,7 @@ def test_auth_connect(self):
93
93
session = cluster .connect ()
94
94
try :
95
95
self .assertTrue (session .execute ('SELECT release_version FROM system.local' ))
96
- assert_quiescent_pool_state_with_wait (self , cluster , wait = 1 )
96
+ assert_quiescent_pool_state (self , cluster , wait = 1 )
97
97
for pool in session .get_pools ():
98
98
connection , _ = pool .borrow_connection (timeout = 0 )
99
99
self .assertEqual (connection .authenticator .server_authenticator_class , 'org.apache.cassandra.auth.PasswordAuthenticator' )
@@ -102,7 +102,7 @@ def test_auth_connect(self):
102
102
cluster .shutdown ()
103
103
finally :
104
104
root_session .execute ('DROP USER %s' , user )
105
- assert_quiescent_pool_state_with_wait (self , root_session .cluster , wait = 1 )
105
+ assert_quiescent_pool_state (self , root_session .cluster , wait = 1 )
106
106
root_session .cluster .shutdown ()
107
107
108
108
def test_connect_wrong_pwd (self ):
0 commit comments