mirror of
https://github.com/flatcar/scripts.git
synced 2025-11-13 22:51:59 +01:00
Update config for cros_au_test_harness.
Change-Id: Iccc5d28f4520418c58089cdb53b6e644271b2eb3 BUG= TEST=n/a Review URL: http://codereview.chromium.org/4051003
This commit is contained in:
parent
b00c32c335
commit
f38f249eb4
@ -19,7 +19,7 @@ from cros_build_lib import Warning
|
|||||||
|
|
||||||
_KVM_PID_FILE = '/tmp/harness_pid'
|
_KVM_PID_FILE = '/tmp/harness_pid'
|
||||||
_FULL_VDISK_SIZE = 6072
|
_FULL_VDISK_SIZE = 6072
|
||||||
_FULL_STATEFULFS_SIZE = 2048
|
_FULL_STATEFULFS_SIZE = 3074
|
||||||
|
|
||||||
# Globals to communicate options to unit tests.
|
# Globals to communicate options to unit tests.
|
||||||
global base_image_path
|
global base_image_path
|
||||||
@ -127,7 +127,7 @@ class AUTest(object):
|
|||||||
self.PrepareBase()
|
self.PrepareBase()
|
||||||
# TODO(sosa): move to 100% once we start testing using the autotest paired
|
# TODO(sosa): move to 100% once we start testing using the autotest paired
|
||||||
# with the dev channel.
|
# with the dev channel.
|
||||||
percent_passed = self.VerifyImage(42)
|
percent_passed = self.VerifyImage(10)
|
||||||
|
|
||||||
# Update to - all tests should pass on new image.
|
# Update to - all tests should pass on new image.
|
||||||
Info('Updating from base image on vm to target image.')
|
Info('Updating from base image on vm to target image.')
|
||||||
@ -141,7 +141,7 @@ class AUTest(object):
|
|||||||
|
|
||||||
# TODO(sosa): Re-enable once we have a good way of checking for version
|
# TODO(sosa): Re-enable once we have a good way of checking for version
|
||||||
# compatibility.
|
# compatibility.
|
||||||
def NotestFullUpdateWipeStateful(self):
|
def testFullUpdateWipeStateful(self):
|
||||||
"""Tests if we can update after cleaning the stateful partition.
|
"""Tests if we can update after cleaning the stateful partition.
|
||||||
|
|
||||||
This test checks that we can update successfully after wiping the
|
This test checks that we can update successfully after wiping the
|
||||||
@ -152,7 +152,7 @@ class AUTest(object):
|
|||||||
self.PrepareBase()
|
self.PrepareBase()
|
||||||
# TODO(sosa): move to 100% once we start testing using the autotest paired
|
# TODO(sosa): move to 100% once we start testing using the autotest paired
|
||||||
# with the dev channel.
|
# with the dev channel.
|
||||||
percent_passed = self.VerifyImage(42)
|
percent_passed = self.VerifyImage(10)
|
||||||
|
|
||||||
# Update to - all tests should pass on new image.
|
# Update to - all tests should pass on new image.
|
||||||
Info('Updating from base image on vm to target image and wiping stateful.')
|
Info('Updating from base image on vm to target image and wiping stateful.')
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user