We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7499622 commit 4fd7c29Copy full SHA for 4fd7c29
1 file changed
benchmarks/base.py
@@ -72,7 +72,7 @@
72
def setup(options):
73
log.info("Using 'cassandra' package from %s", cassandra.__path__)
74
75
- cluster = Cluster(hosts, schema_metadata_enabled=False, token_metadata_enabled=False)
+ cluster = Cluster(options.hosts, schema_metadata_enabled=False, token_metadata_enabled=False)
76
try:
77
session = cluster.connect()
78
@@ -107,8 +107,8 @@ def setup(options):
107
cluster.shutdown()
108
109
110
-def teardown(hosts):
111
+def teardown(options):
112
113
if not options.keep_data:
114
session.execute("DROP KEYSPACE " + options.keyspace)
0 commit comments