summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan J. Martinez <juan@memset.com>2011-05-25 12:56:53 +0100
committerJuan J. Martinez <juan@memset.com>2011-05-25 12:56:53 +0100
commit214f7720269ca69c0efda5a8f1423c81f4118074 (patch)
treec3b36e6b767f4ea4a81b474c24ac86eea4c046b5
parent1607e80ed649b9ec88a216c60e16c1adbaba16ae (diff)
downloadswift-bench-214f7720269ca69c0efda5a8f1423c81f4118074.tar.gz
Don't track names on PUT failure to avoid extra failures in GET/DELETE.
-rw-r--r--swift/common/bench.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/swift/common/bench.py b/swift/common/bench.py
index c500493..28d8c7e 100644
--- a/swift/common/bench.py
+++ b/swift/common/bench.py
@@ -244,5 +244,6 @@ class BenchPUT(Bench):
except client.ClientException, e:
self.logger.debug(str(e))
self.failures += 1
- self.names.append((device, partition, name, container_name))
+ else:
+ self.names.append((device, partition, name, container_name))
self.complete += 1