Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(123)

Unified Diff: client/tests/kvm/tests/enospc.py

Issue 6883246: Merge autotest upstream from @5318 ~ @5336 (Closed) Base URL: ssh://gitrw.chromium.org:9222/autotest.git@master
Patch Set: patch Created 9 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « client/tests/kvm/tests/build.py ('k') | client/tests/kvm/tests/ksm_overcommit.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/tests/kvm/tests/enospc.py
diff --git a/client/tests/kvm/tests/enospc.py b/client/tests/kvm/tests/enospc.py
index 5b063287700453cbc426fdde4442c9ba1965efb8..e6c894c33fc7b92eda291e02170ae14bbe7211bb 100644
--- a/client/tests/kvm/tests/enospc.py
+++ b/client/tests/kvm/tests/enospc.py
@@ -1,7 +1,7 @@
import logging, time, re, os
from autotest_lib.client.common_lib import error
from autotest_lib.client.bin import utils
-import kvm_vm, kvm_utils
+from autotest_lib.client.virt import virt_vm, virt_utils
class EnospcConfig(object):
@@ -36,7 +36,7 @@ class EnospcConfig(object):
def setup(self):
logging.debug("Starting enospc setup")
error.context("performing enospc setup")
- kvm_utils.display_attributes(self)
+ virt_utils.display_attributes(self)
# Double check if there aren't any leftovers
self.cleanup()
try:
@@ -147,8 +147,8 @@ def run_enospc(test, params, env):
for image_name in vm.params.objects("images"):
image_params = vm.params.object_params(image_name)
try:
- kvm_vm.check_image(image_params, test.bindir)
- except (kvm_vm.VMError, error.TestWarn), e:
+ virt_vm.check_image(image_params, test.bindir)
+ except (virt_vm.VMError, error.TestWarn), e:
logging.error(e)
logging.info("Guest paused, extending Logical Volume size")
try:
« no previous file with comments | « client/tests/kvm/tests/build.py ('k') | client/tests/kvm/tests/ksm_overcommit.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698