Increase the test_qos disk usage limit

The lowest limit for disk usage for Hyper-V instances is 8 KB/s.
Setting it that low, however, can lead to some test timeouts, as
the VM may fail to finish booting in time.

Increases the QoS limit to 1 MB/s.

Change-Id: Iedc8f1add74e4c299f76613a622976b348f278f0
This commit is contained in:
Claudiu Belu 2017-08-31 11:48:14 -07:00
parent fb57b6104e
commit 76fe6540d2
2 changed files with 4 additions and 1 deletions

View File

@ -13,6 +13,8 @@
# License for the specific language governing permissions and limitations
# under the License.
from oslo_utils import units
from oswin_tempest_plugin.tests._mixins import optional_feature
from oswin_tempest_plugin.tests import test_base
@ -28,4 +30,4 @@ class QosTestCase(test_base.TestBase,
"""
_FEATURE_FLAVOR = {
'extra_specs': {'quota:disk_total_bytes_sec': '200'}}
'extra_specs': {'quota:disk_total_bytes_sec': str(units.Mi)}}

View File

@ -6,5 +6,6 @@ pbr>=2.0 # Apache-2.0
oslo.config>=4.0.0,!=4.3.0,!=4.4.0 # Apache-2.0
oslo.log>=3.22.0 # Apache-2.0
oslo.utils>=3.20.0 # Apache-2.0
tempest>=16.1.0 # Apache-2.0
pywinrm>=0.2.2 # MIT