diff options
author | John Dickinson <me@not.mn> | 2015-11-09 15:06:06 -0800 |
---|---|---|
committer | John Dickinson <me@not.mn> | 2015-11-09 15:35:14 -0800 |
commit | 43dc3dd3587ae11736205d020a8338d00ebf2db1 (patch) | |
tree | e824e3417d3f979fa65dca6829adf47653a08cc3 | |
parent | d64b007deb99e3ac65034623993961f23351b78d (diff) | |
download | swift-bench-43dc3dd3587ae11736205d020a8338d00ebf2db1.tar.gz |
update hacking in test-requirements
also changed a variable name to pass a new hacking check
Change-Id: Ib64adcc6c986528e619ee42abc21f42f9f2dfbf4
-rw-r--r-- | swiftbench/bench.py | 4 | ||||
-rw-r--r-- | test-requirements.txt | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/swiftbench/bench.py b/swiftbench/bench.py index 65f3f87..e2bf250 100644 --- a/swiftbench/bench.py +++ b/swiftbench/bench.py @@ -323,8 +323,8 @@ class DistributedBenchController(object): eventlet.patcher.monkey_patch(socket=True) pool = eventlet.GreenPool(size=len(self.clients)) pile = eventlet.GreenPile(pool) - for client in self.clients: - pile.spawn(self.do_run, client) + for c in self.clients: + pile.spawn(self.do_run, c) results = { 'PUTS': dict(count=0, failures=0, rate=0.0), 'GETS': dict(count=0, failures=0, rate=0.0), diff --git a/test-requirements.txt b/test-requirements.txt index 7a1174e..8f0a24d 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -1,4 +1,4 @@ -hacking>=0.8.0,<0.9 +hacking>=0.10.0,<0.11 coverage>=3.6 discover |