Commit 3104b0aa authored by Maverick Chardet's avatar Maverick Chardet
Browse files

Fixed error in SSH scalability test

parent 74f0e70a
......@@ -35,8 +35,8 @@ class SSHAssembly(Assembly):
def prepare(self, remote_addresses, sleep_time):
self._current_nb = len(remote_addresses)
for i, address in enumerate(remote_addresses, sleep_time):
self.add_component("caller%d" % i, address)
for i, address in enumerate(remote_addresses):
self.add_component("caller%d" % i, SSHCaller(address, sleep_time))
self.synchronize()
def call(self, nb_calls):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment