mirror of https://github.com/apache/cassandra
updated stress.py to use set_keyspace() instead of login()
Patch by eevans for CASSANDRA-1022 git-svn-id: https://svn.apache.org/repos/asf/cassandra/trunk@940128 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e649d0f4d5
commit
babfd4e916
|
|
@ -168,7 +168,7 @@ class Operation(Thread):
|
|||
# open client
|
||||
self.cclient = get_client(hostname, options.port, options.framed)
|
||||
self.cclient.transport.open()
|
||||
self.cclient.login('Keyspace1', AuthenticationRequest({}))
|
||||
self.cclient.set_keyspace('Keyspace1')
|
||||
|
||||
class Inserter(Operation):
|
||||
def run(self):
|
||||
|
|
|
|||
Loading…
Reference in New Issue