projects
/
arvados.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1aed7b2
)
15680: Update mockkeep.put to accept num_retries arg.
author
Tom Clegg <tclegg@veritasgenetics.com>
Fri, 18 Oct 2019 18:47:36 +0000
(14:47 -0400)
committer
Tom Clegg <tclegg@veritasgenetics.com>
Fri, 18 Oct 2019 18:47:36 +0000
(14:47 -0400)
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>
sdk/python/tests/test_arvfile.py
patch
|
blob
|
history
diff --git
a/sdk/python/tests/test_arvfile.py
b/sdk/python/tests/test_arvfile.py
index a760255dd6da8e01470dacafa6bcfafeddc50058..086fa542a2b28b2112f92eb49e21934247cf2710 100644
(file)
--- a/
sdk/python/tests/test_arvfile.py
+++ b/
sdk/python/tests/test_arvfile.py
@@
-865,7
+865,7
@@
class BlockManagerTest(unittest.TestCase):
def test_bufferblock_commit_pending(self):
# Test for bug #7225
mockkeep = mock.MagicMock()
- mockkeep.put.side_effect = lambda
x
: time.sleep(1)
+ mockkeep.put.side_effect = lambda
*args, **kwargs
: time.sleep(1)
with arvados.arvfile._BlockManager(mockkeep) as blockmanager:
bufferblock = blockmanager.alloc_bufferblock()
bufferblock.append("foo")