[ARVADOS] updated: 85782d1376ba94714088499b064ba3e43aefe722

git at public.curoverse.com git at public.curoverse.com
Mon Dec 14 15:20:28 EST 2015


Summary of changes:
 services/fuse/arvados_fuse/command.py    | 1 +
 services/fuse/tests/test_command_args.py | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

       via  85782d1376ba94714088499b064ba3e43aefe722 (commit)
      from  d7d291b8276c0723a3c85d322de51480c7c3a93d (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 85782d1376ba94714088499b064ba3e43aefe722
Author: Peter Amstutz <peter.amstutz at curoverse.com>
Date:   Mon Dec 14 15:20:23 2015 -0500

    7939: Use 100:: for bogus host check and add comment about API check.

diff --git a/services/fuse/arvados_fuse/command.py b/services/fuse/arvados_fuse/command.py
index 11935ad..cd81a53 100644
--- a/services/fuse/arvados_fuse/command.py
+++ b/services/fuse/arvados_fuse/command.py
@@ -153,6 +153,7 @@ class Mount(object):
             keep_params={
                 "block_cache": arvados.keep.KeepBlockCache(self.args.file_cache)
             })
+        # Do a sanity check that we have a working arvados host + token.
         self.api.users().current().execute()
 
     def _setup_mount(self):
diff --git a/services/fuse/tests/test_command_args.py b/services/fuse/tests/test_command_args.py
index 2eb73b5..bfefc67 100644
--- a/services/fuse/tests/test_command_args.py
+++ b/services/fuse/tests/test_command_args.py
@@ -218,7 +218,7 @@ class MountErrorTest(unittest.TestCase):
         self.assertEqual(1, ex.exception.code)
 
     def test_bogus_host(self):
-        arvados.config._settings["ARVADOS_API_HOST"] = "example.null"
+        arvados.config._settings["ARVADOS_API_HOST"] = "100::"
         with self.assertRaises(SystemExit) as ex:
             args = arvados_fuse.command.ArgumentParser().parse_args([self.mntdir])
             arvados_fuse.command.Mount(args, logger=self.logger).run()

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list