[ARVADOS] updated: 83d820df9f30c281b4babbc8b05fdea4e2b81d01

git at public.curoverse.com git at public.curoverse.com
Thu Jun 18 16:55:05 EDT 2015


Summary of changes:
 services/fuse/tests/test_inodes.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

       via  83d820df9f30c281b4babbc8b05fdea4e2b81d01 (commit)
      from  d1dbdfd430be8a1bdd21fc1f02f8fe5e2d989092 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit 83d820df9f30c281b4babbc8b05fdea4e2b81d01
Author: Peter Amstutz <peter.amstutz at curoverse.com>
Date:   Thu Jun 18 16:55:22 2015 -0400

    3198: Fix test

diff --git a/services/fuse/tests/test_inodes.py b/services/fuse/tests/test_inodes.py
index cce5b95..61170d5 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())

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list