projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Try to make logging identify the actor consistently
[arvados.git]
/
services
/
fuse
/
tests
/
test_inodes.py
diff --git
a/services/fuse/tests/test_inodes.py
b/services/fuse/tests/test_inodes.py
index cce5b95a80ed5c5ab0dfc6819ff96bb661f6387d..61170d59807d5bf38ab4b4f622698e5aa78628c8 100644
(file)
--- a/
services/fuse/tests/test_inodes.py
+++ b/
services/fuse/tests/test_inodes.py
@@
-1,6
+1,7
@@
import arvados_fuse
import mock
import unittest
import arvados_fuse
import mock
import unittest
+import llfuse
class InodeTests(unittest.TestCase):
def test_inodes_basic(self):
class InodeTests(unittest.TestCase):
def test_inodes_basic(self):
@@
-141,7
+142,8
@@
class InodeTests(unittest.TestCase):
self.assertEqual(500, cache.total())
ent1.clear.return_value = True
ent1.ref_count = 0
self.assertEqual(500, cache.total())
ent1.clear.return_value = True
ent1.ref_count = 0
- inodes.del_entry(ent1)
+ with llfuse.lock:
+ inodes.del_entry(ent1)
self.assertEqual(0, cache.total())
cache.touch(ent3)
self.assertEqual(600, cache.total())
self.assertEqual(0, cache.total())
cache.touch(ent3)
self.assertEqual(600, cache.total())