summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuul <zuul@review.opendev.org>2020-10-14 03:56:46 +0000
committerGerrit Code Review <review@openstack.org>2020-10-14 03:56:46 +0000
commit90c10fab432105c2aad6cc00e1a1870d5f14030b (patch)
treeee0b3cf9fb164ec90d15e77b227d5292a7143f5e
parent89994a7ad02cf11f723a9071a4c96dc757b30583 (diff)
parentc73792c2e55e4fbdff78a192a991e064a317e840 (diff)
downloadpython-swiftclient-90c10fab432105c2aad6cc00e1a1870d5f14030b.tar.gz
Merge "tests: Make test_delete_container_versions less flakey"
-rw-r--r--test/unit/test_shell.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/test_shell.py b/test/unit/test_shell.py
index f94e5e2..46ba52c 100644
--- a/test/unit/test_shell.py
+++ b/test/unit/test_shell.py
@@ -1547,7 +1547,7 @@ class TestShell(unittest.TestCase):
[None, []],
]
connection.return_value.attempts = 0
- argv = ["", "delete", "--versions", "container"]
+ argv = ["", "delete", "--versions", "container", "--object-threads=1"]
connection.return_value.head_object.return_value = {}
swiftclient.shell.main(argv)
connection.return_value.delete_container.assert_called_with(