Upgrade the test confs
The test conf are currently json files. There is duplication between the test confs and the regular confs since there is no access to the regular confs. The "limitation" of the old confs was the lack of nested values, so the json was used. The new oslo cfg can use nested values in the form of
[rabbit]
host = blah
So you can do things like CONF.rabbit.host and CONF.rabbit is not None, which is enough to make the new oslo cfg features work with the test.confs json features.
Whiteboard
Description:
-----------------
There is a test case that checks for volume size limits that will behave differently based on multiple flags.
Note: This test should pass by default as Volume Support is enabled by all flags.
reddwarf/
This test hinges on the following property "reddwarf_
There is a known issue where if you want to run this test with Volume Support = False you will need to toggle flags in three property files.
reddwarf:
- reddwarf.conf
- reddwarf-
reddwarf-
- test.conf
https:/
https:/
Suggested Work
-------
Try to refactor properties to only use one flag if possible, or refactor tests to not rely on properties for the two cases. Meaning you just have one test that will create an instance with a volume and one without.