Index: au_test_harness/au_test.py |
diff --git a/au_test_harness/au_test.py b/au_test_harness/au_test.py |
index cc161e042dc3b32ef923e5dd2ba50b1f04c32fe3..69df8208451625795ffd2efe8b720b46f48c4c71 100644 |
--- a/au_test_harness/au_test.py |
+++ b/au_test_harness/au_test.py |
@@ -131,7 +131,7 @@ class AUTest(unittest.TestCase): |
This test checks that we can update by updating the stateful partition |
rather than wiping it. |
""" |
- self.worker.InitializeResultsDirectory() |
+ self.worker.Initialize(9222) |
# Just make sure some tests pass on original image. Some old images |
# don't pass many tests. |
self.worker.PrepareBase(self.base_image_path) |
@@ -153,7 +153,7 @@ class AUTest(unittest.TestCase): |
This test checks that we can update successfully after wiping the |
stateful partition. |
""" |
- self.worker.InitializeResultsDirectory() |
+ self.worker.Initialize(9223) |
# Just make sure some tests pass on original image. Some old images |
# don't pass many tests. |
self.worker.PrepareBase(self.base_image_path) |
@@ -201,7 +201,7 @@ class AUTest(unittest.TestCase): |
self.data_size += len(data) |
return data |
- self.worker.InitializeResultsDirectory() |
+ self.worker.Initialize(9224) |
self.AttemptUpdateWithFilter(InterruptionFilter(), proxy_port=8082) |
def testDelayedUpdate(self): |
@@ -232,7 +232,7 @@ class AUTest(unittest.TestCase): |
self.data_size += len(data) |
return data |
- self.worker.InitializeResultsDirectory() |
+ self.worker.Initialize(9225) |
self.AttemptUpdateWithFilter(DelayedFilter(), proxy_port=8083) |
def SimpleTest(self): |
@@ -241,7 +241,7 @@ class AUTest(unittest.TestCase): |
We explicitly don't use test prefix so that isn't run by default. Can be |
run using test_prefix option. |
""" |
- self.worker.InitializeResultsDirectory() |
+ self.worker.Initialize(9226) |
self.worker.PrepareBase(self.base_image_path) |
self.worker.PerformUpdate(self.target_image_path, self.base_image_path) |
self.worker.VerifyImage(self) |
@@ -251,7 +251,7 @@ class AUTest(unittest.TestCase): |
# TODO(sosa): Get test to work with verbose. |
def NotestPartialUpdate(self): |
"""Tests what happens if we attempt to update with a truncated payload.""" |
- self.worker.InitializeResultsDirectory() |
+ self.worker.Initialize(9227) |
# Preload with the version we are trying to test. |
self.worker.PrepareBase(self.target_image_path) |
@@ -270,7 +270,7 @@ class AUTest(unittest.TestCase): |
# TODO(sosa): Get test to work with verbose. |
def NotestCorruptedUpdate(self): |
"""Tests what happens if we attempt to update with a corrupted payload.""" |
- self.worker.InitializeResultsDirectory() |
+ self.worker.Initialize(9228) |
# Preload with the version we are trying to test. |
self.worker.PrepareBase(self.target_image_path) |