summaryrefslogtreecommitdiffstats
path: root/qa
diff options
context:
space:
mode:
authorafreen23 <afreen23.git@gmail.com>2024-12-17 09:09:04 +0100
committerGitHub <noreply@github.com>2024-12-17 09:09:04 +0100
commit744eb5cdb36eeac1d59445c1375dd2e861116c7c (patch)
tree7d9b4358378b57988b00565bb4dc5e47c69cdd09 /qa
parentMerge pull request #60807 from baum/nvmeof_service_ports (diff)
parentmgr/dashboard: Administration > Configuration > Some of the config options ar... (diff)
downloadceph-744eb5cdb36eeac1d59445c1375dd2e861116c7c.tar.xz
ceph-744eb5cdb36eeac1d59445c1375dd2e861116c7c.zip
Merge pull request #60798 from rhcs-dashboard/edit-configuration-at-runtime
mgr/dashboard: Administration > Configuration > rgw_dns_name and rgw_dns_s3website_name not updatable via dashboard Reviewed-by: Afreen Misbah <afreen@ibm.com>
Diffstat (limited to 'qa')
-rw-r--r--qa/tasks/mgr/dashboard/test_rbd.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/qa/tasks/mgr/dashboard/test_rbd.py b/qa/tasks/mgr/dashboard/test_rbd.py
index a872645e33e..83b3bf520c2 100644
--- a/qa/tasks/mgr/dashboard/test_rbd.py
+++ b/qa/tasks/mgr/dashboard/test_rbd.py
@@ -869,7 +869,19 @@ class RbdTest(DashboardTestCase):
self.assertEqual(clone_format_version, 2)
self.assertStatus(200)
+ # if empty list is sent, then the config will remain as it is
value = []
+ res = [{'section': "global", 'value': "2"}]
+ self._post('/api/cluster_conf', {
+ 'name': config_name,
+ 'value': value
+ })
+ self.wait_until_equal(
+ lambda: _get_config_by_name(config_name),
+ res,
+ timeout=60)
+
+ value = [{'section': "global", 'value': ""}]
self._post('/api/cluster_conf', {
'name': config_name,
'value': value