From 658d3cc5ebe65781af61d94aad86d50cf9c0cec6 Mon Sep 17 00:00:00 2001 From: Ramana Raja Date: Tue, 15 Mar 2016 14:46:51 +0530 Subject: [PATCH] manila: disable ro access level tests for the two drivers The two manila gluster drivers, glusterfs and glusterfs native do not yet support 'ro' access level. So disable 'ro' access level tempest tests for the two drivers by making the CI post hook script modify the tempest config file appropriately. Change-Id: I32f255eafe4938196c54108a45d7ddb48eceb8bf --- manila/post_test_hook.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/manila/post_test_hook.sh b/manila/post_test_hook.sh index 601660c..1bfa76b 100755 --- a/manila/post_test_hook.sh +++ b/manila/post_test_hook.sh @@ -34,6 +34,8 @@ if [[ "$JOB_NAME" =~ "glusterfs-native" ]]; then iniset $TEMPEST_CONFIG share enable_ip_rules_for_protocols iniset $TEMPEST_CONFIG share enable_cert_rules_for_protocols glusterfs iniset $TEMPEST_CONFIG share capability_snapshot_support True + # ro access_level is not supported by the driver. + iniset $TEMPEST_CONFIG share enable_ro_access_level_for_protocols else if [[ "$JOB_NAME" =~ "glusterfs-heketi" ]]; then local BACKEND_NAME="GLUSTERFSHEKETI" @@ -43,6 +45,8 @@ else iniset $TEMPEST_CONFIG share enable_protocols nfs iniset $TEMPEST_CONFIG share enable_ip_rules_for_protocols nfs iniset $TEMPEST_CONFIG share storage_protocol NFS + # ro access_level is not supported by the driver. + iniset $TEMPEST_CONFIG share enable_ro_access_level_for_protocols fi