From b10f4bae28bec9c0c394c340bf813a28ac8a3380 Mon Sep 17 00:00:00 2001 From: Tim Burke Date: Tue, 18 Jun 2019 09:54:02 -0700 Subject: [PATCH] func tests: tolerate more 404s when deleting Change-Id: I3129e4f94ac39964f2f17ea05b6b2dd807fba82a --- test/functional/test_dlo.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/test/functional/test_dlo.py b/test/functional/test_dlo.py index daeda94b53..4d26ed6898 100644 --- a/test/functional/test_dlo.py +++ b/test/functional/test_dlo.py @@ -136,7 +136,7 @@ class TestDlo(Base): man1_item.copy(self.env.container.name, "copied-man1") finally: # try not to leave this around for other tests to stumble over - f_segment.delete() + f_segment.delete(tolerate_missing=True) file_item = self.env.container.file('copied-man1') file_contents = file_item.read() @@ -162,7 +162,7 @@ class TestDlo(Base): "copied-man1") finally: # try not to leave this around for other tests to stumble over - f_segment.delete() + f_segment.delete(tolerate_missing=True) file_item = self.env.container.file('copied-man1') file_contents = file_item.read() @@ -192,7 +192,8 @@ class TestDlo(Base): copied.info()['x_object_manifest']) finally: # try not to leave this around for other tests to stumble over - self.env.container.file("copied-man1").delete() + self.env.container.file("copied-man1").delete( + tolerate_missing=True) def test_dlo_if_match_get(self): manifest = self.env.container.file("man1")