From d8aca28bf200902b7c43f7a89de89d7de473fa5f Mon Sep 17 00:00:00 2001 From: "Juan J. Martinez" Date: Wed, 25 May 2011 12:56:53 +0100 Subject: [PATCH] Don't track names on PUT failure to avoid extra failures in GET/DELETE. --- swift/common/bench.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/swift/common/bench.py b/swift/common/bench.py index c500493187..28d8c7e8d9 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