(options)
| 127 | |
| 128 | |
| 129 | def teardown(options): |
| 130 | cluster = Cluster(options.hosts, schema_metadata_enabled=False, token_metadata_enabled=False) |
| 131 | session = cluster.connect() |
| 132 | if not options.keep_data: |
| 133 | session.execute("DROP KEYSPACE " + options.keyspace) |
| 134 | cluster.shutdown() |
| 135 | |
| 136 | |
| 137 | def benchmark(thread_class): |