-
Notifications
You must be signed in to change notification settings - Fork 176
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
481efdb
commit ca777f0
Showing
1 changed file
with
8 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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( | ||
"<[email protected]>", | ||
PurePath("/home/lisatest"), | ||
) | ||
|
||
@TestCaseMetadata( | ||
description=""" | ||
|