Skip to content

Commit 4fd7c29

Browse files
committed
fix botched merge conflict
1 parent 7499622 commit 4fd7c29

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

benchmarks/base.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
def setup(options):
7373
log.info("Using 'cassandra' package from %s", cassandra.__path__)
7474

75-
cluster = Cluster(hosts, schema_metadata_enabled=False, token_metadata_enabled=False)
75+
cluster = Cluster(options.hosts, schema_metadata_enabled=False, token_metadata_enabled=False)
7676
try:
7777
session = cluster.connect()
7878

@@ -107,8 +107,8 @@ def setup(options):
107107
cluster.shutdown()
108108

109109

110-
def teardown(hosts):
111-
cluster = Cluster(hosts, schema_metadata_enabled=False, token_metadata_enabled=False)
110+
def teardown(options):
111+
cluster = Cluster(options.hosts, schema_metadata_enabled=False, token_metadata_enabled=False)
112112
session = cluster.connect()
113113
if not options.keep_data:
114114
session.execute("DROP KEYSPACE " + options.keyspace)

0 commit comments

Comments
 (0)