[ARVADOS] updated: fbc867e0b02a0482d00000d76c5d0d343b7f252e

Git user git at public.curoverse.com
Thu Mar 30 10:30:12 EDT 2017


Summary of changes:
 services/fuse/arvados_fuse/command.py  |  1 +
 services/fuse/tests/test_crunchstat.py | 13 +++++++++++++
 2 files changed, 14 insertions(+)
 create mode 100644 services/fuse/tests/test_crunchstat.py

       via  fbc867e0b02a0482d00000d76c5d0d343b7f252e (commit)
      from  78ca1460d58172f4555409298968583cd2ee70a1 (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 fbc867e0b02a0482d00000d76c5d0d343b7f252e
Author: Tom Clegg <tom at curoverse.com>
Date:   Thu Mar 30 10:29:47 2017 -0400

    11209: Restore missing import.
    
    refs #11209

diff --git a/services/fuse/arvados_fuse/command.py b/services/fuse/arvados_fuse/command.py
index 45e902f..fea6048 100644
--- a/services/fuse/arvados_fuse/command.py
+++ b/services/fuse/arvados_fuse/command.py
@@ -11,6 +11,7 @@ import sys
 import time
 
 import arvados.commands._util as arv_cmd
+from arvados_fuse import crunchstat
 from arvados_fuse import *
 from arvados_fuse.unmount import unmount
 from arvados_fuse._version import __version__
diff --git a/services/fuse/tests/test_crunchstat.py b/services/fuse/tests/test_crunchstat.py
new file mode 100644
index 0000000..1fa28fb
--- /dev/null
+++ b/services/fuse/tests/test_crunchstat.py
@@ -0,0 +1,13 @@
+import subprocess
+
+from integration_test import IntegrationTest
+
+
+class CrunchstatTest(IntegrationTest):
+    def test_crunchstat(self):
+        output = subprocess.check_output(
+            ['./bin/arv-mount',
+             '--crunchstat-interval', '1',
+             self.mnt,
+             '--exec', 'echo', 'ok'])
+        self.assertEqual("ok\n", output)

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list