]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
tasks/cephfs: update test_runner for mds_cluster
authorJohn Spray <john.spray@redhat.com>
Fri, 8 Jan 2016 09:49:36 +0000 (09:49 +0000)
committerJohn Spray <john.spray@redhat.com>
Fri, 11 Mar 2016 10:36:43 +0000 (10:36 +0000)
Signed-off-by: John Spray <john.spray@redhat.com>
tasks/cephfs_test_runner.py

index 61d2acfb7e1b1e81217adfeaf6509ac5c9128c81..f199c2934fb9b08ebd3a0deb7469379ff8bc9343 100644 (file)
@@ -123,13 +123,15 @@ def task(ctx, config):
     decorating_loader = DecoratingLoader({
         "ctx": ctx,
         "mounts": mounts,
-        "fs": fs
+        "fs": fs,
+        "mds_cluster": mds_cluster
     })
 
     fail_on_skip = config.get('fail_on_skip', True)
 
     # Put useful things onto ctx for interactive debugging
     ctx.fs = fs
+    ctx.mds_cluster = mds_cluster
 
     # Depending on config, either load specific modules, or scan for moduless
     if config and 'modules' in config and config['modules']: