summaryrefslogtreecommitdiffstats
path: root/nova/tests
diff options
context:
space:
mode:
Diffstat (limited to 'nova/tests')
-rw-r--r--nova/tests/test_compute.py3
-rw-r--r--nova/tests/test_libvirt.py3
2 files changed, 2 insertions, 4 deletions
diff --git a/nova/tests/test_compute.py b/nova/tests/test_compute.py
index 0527ff456..883ee0173 100644
--- a/nova/tests/test_compute.py
+++ b/nova/tests/test_compute.py
@@ -163,8 +163,7 @@ class BaseTestCase(test.TestCase):
inst['local_gb'] = '20'
inst['flavorid'] = '1'
inst['swap'] = '2048'
- inst['rxtx_quota'] = 100
- inst['rxtx_cap'] = 200
+ inst['rxtx_factor'] = 1
inst.update(params)
return db.instance_type_create(context, inst)['id']
diff --git a/nova/tests/test_libvirt.py b/nova/tests/test_libvirt.py
index c6fb5c348..61524e0cb 100644
--- a/nova/tests/test_libvirt.py
+++ b/nova/tests/test_libvirt.py
@@ -1615,8 +1615,7 @@ class NWFilterTestCase(test.TestCase):
inst['local_gb'] = '20'
inst['flavorid'] = '1'
inst['swap'] = '2048'
- inst['rxtx_quota'] = 100
- inst['rxtx_cap'] = 200
+ inst['rxtx_factor'] = 1
inst.update(params)
return db.instance_type_create(context, inst)['id']