projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch '11209-unmount-replace'
[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..81d5c86072d8b0f6e7008235f128adfda2857550 100644
(file)
--- a/
services/fuse/tests/test_retry.py
+++ b/
services/fuse/tests/test_retry.py
@@
-50,7
+50,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