projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' into 13823-bionic
[arvados.git]
/
services
/
fuse
/
tests
/
test_retry.py
diff --git
a/services/fuse/tests/test_retry.py
b/services/fuse/tests/test_retry.py
index b46ba7839f72f2a578fb6fbcdcbe8fbe9e71d681..1c2ade2717bad110fe7dd29f34c52f884bb06777 100644
(file)
--- a/
services/fuse/tests/test_retry.py
+++ b/
services/fuse/tests/test_retry.py
@@
-1,3
+1,7
@@
+# Copyright (C) The Arvados Authors. All rights reserved.
+#
+# SPDX-License-Identifier: AGPL-3.0
+
import arvados
import arvados_fuse.command
import json
import arvados
import arvados_fuse.command
import json
@@
-50,7
+54,7
@@
class RetryPUT(IntegrationTest):
q.put(mockedCurl)
q.put(pycurl.Curl())
q.put(pycurl.Curl())
q.put(mockedCurl)
q.put(pycurl.Curl())
q.put(pycurl.Curl())
- with mock.patch('arvados.keep.KeepClient.KeepService._get_user_agent', side_effect=
lambda: q.get(block=None)
):
+ with mock.patch('arvados.keep.KeepClient.KeepService._get_user_agent', side_effect=
q.get_nowait
):
self.pool_test(os.path.join(self.mnt, 'zzz'))
self.assertTrue(mockedCurl.perform.called)
@staticmethod
self.pool_test(os.path.join(self.mnt, 'zzz'))
self.assertTrue(mockedCurl.perform.called)
@staticmethod