]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
rbd.xfstests: remove bad assert
authorJosh Durgin <jdurgin@redhat.com>
Mon, 27 Apr 2015 18:29:09 +0000 (11:29 -0700)
committerJosh Durgin <jdurgin@redhat.com>
Mon, 27 Apr 2015 18:29:19 +0000 (11:29 -0700)
Misguided input validation. A better error comes
from the run_xfstests() method later anyway.

Signed-off-by: Josh Durgin <jdurgin@redhat.com>
tasks/rbd.py

index 92ab7d1373922a03c76c74b7c1bb969e6366ce0e..227981be1d8ed7bb0ef0c286cbe68e75f601d1ea 100644 (file)
@@ -426,8 +426,6 @@ def xfstests(ctx, config):
             )
 
         xfstests_branch = properties.get('xfstests_branch', 'master')
-        assert 'xfstests_url' in properties or 'xfstests_branch' in properties, \
-            "xfstests_url or xfstests_branch must be specified"
         xfstests_url = properties.get('xfstests_url', 'https://raw.github.com/ceph/ceph/{branch}/qa'.format(branch=xfstests_branch))
 
         xfstests_config[role] = dict(