File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
tests/integration/simulacron Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -86,6 +86,7 @@ def _is_gevent_monkey_patched():
86
86
import gevent .socket
87
87
return socket .socket is gevent .socket .socket
88
88
89
+
89
90
# default to gevent when we are monkey patched with gevent, eventlet when
90
91
# monkey patched with eventlet, otherwise if libev is available, use that as
91
92
# the default because it's fastest. Otherwise, use asyncore.
@@ -181,6 +182,7 @@ def _shutdown_clusters():
181
182
for cluster in clusters :
182
183
cluster .shutdown ()
183
184
185
+
184
186
atexit .register (_shutdown_clusters )
185
187
186
188
Original file line number Diff line number Diff line change 21
21
from tests .integration .simulacron .utils import prime_query
22
22
23
23
from cassandra import WriteTimeout , WriteType , ConsistencyLevel
24
+ from cassandra .cluster import Cluster
25
+
24
26
25
27
@requiressimulacron
26
28
class ClusterTests (SimulacronCluster ):
You can’t perform that action at this time.
0 commit comments