X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/46a6199f3a40a24ee145adc390500190b17a6395..1a0c39586b5c73f083b7dad4d3017c5c4ffe5bf4:/services/fuse/tests/test_inodes.py diff --git a/services/fuse/tests/test_inodes.py b/services/fuse/tests/test_inodes.py index cce5b95a80..61170d5980 100644 --- 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 llfuse 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 - inodes.del_entry(ent1) + with llfuse.lock: + inodes.del_entry(ent1) self.assertEqual(0, cache.total()) cache.touch(ent3) self.assertEqual(600, cache.total())