diff --git a/microsoft/testsuites/core/vm_resize.py b/microsoft/testsuites/core/vm_resize.py index 6faa395b7d..80070a78e5 100644 --- a/microsoft/testsuites/core/vm_resize.py +++ b/microsoft/testsuites/core/vm_resize.py @@ -1,5 +1,6 @@ # Copyright (c) Microsoft Corporation. # Licensed under the MIT license. +from pathlib import PurePath import time from typing import Any, Optional, cast @@ -18,6 +19,7 @@ from lisa.schema import NodeSpace from lisa.testsuite import TestResult from lisa.tools import Lscpu +from lisa.tools.b4 import B4 from lisa.util.logger import Logger @@ -85,8 +87,12 @@ def verify_vm_hot_resize_decrease(self, result: TestResult) -> None: supported_features=[Resize, StartStop], ), ) - def verify_vm_resize_increase(self, result: TestResult) -> None: - self._verify_vm_resize(test_result=result, hot_resize=False) + def verify_vm_resize_increase(self, node: Node, result: TestResult) -> None: + b4 = node.tools[B4] + b4.am( + "<20241029080147.52749-3-namjain@linux.microsoft.com>", + PurePath("/home/lisatest"), + ) @TestCaseMetadata( description="""