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:
Eric Evans 2010-05-02 00:08:06 +00:00
parent e649d0f4d5
commit babfd4e916
1 changed files with 1 additions and 1 deletions

View File

@ -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):