Skip to content

Commit c3b6ed8

Browse files
committed
index on updateWiniDeploymentForTests: 7b233d7 Modify windows vm deployment to include virtio
1 parent a63b87b commit c3b6ed8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/observability/metrics/utils.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
from ocp_resources.virtual_machine_cluster_preference import VirtualMachineClusterPreference
1818
from ocp_utilities.monitoring import Prometheus
1919
from pyhelper_utils.shell import run_ssh_commands
20-
from pytest_testconfig import py_config
2120
from timeout_sampler import TimeoutExpiredError, TimeoutSampler
2221

2322
from tests.observability.constants import KUBEVIRT_VIRT_OPERATOR_READY
@@ -34,7 +33,7 @@
3433
cleanup_artifactory_secret_and_config_map,
3534
get_artifactory_config_map,
3635
get_artifactory_secret,
37-
get_http_image_url, get_test_artifact_server_url,
36+
get_test_artifact_server_url,
3837
)
3938
from utilities.constants import (
4039
CAPACITY,
@@ -49,6 +48,7 @@
4948
TIMEOUT_15SEC,
5049
TIMEOUT_20SEC,
5150
TIMEOUT_30SEC,
51+
TIMEOUT_40MIN,
5252
USED,
5353
VIRT_HANDLER,
5454
Images,
@@ -710,11 +710,11 @@ def create_windows11_wsl2_vm(
710710
name=vm_name,
711711
namespace=namespace,
712712
client=client,
713-
vm_instance_type=VirtualMachineClusterInstancetype(client=client, name="u1.xlarge"),
713+
vm_instance_type=VirtualMachineClusterInstancetype(client=client, name="u1.large"),
714714
vm_preference=VirtualMachineClusterPreference(client=client, name="windows.11"),
715715
data_volume_template={"metadata": dv.res["metadata"], "spec": dv.res["spec"]},
716716
) as vm:
717-
running_vm(vm=vm)
717+
running_vm(vm=vm, dv_wait_timeout=TIMEOUT_40MIN)
718718
yield vm
719719
cleanup_artifactory_secret_and_config_map(
720720
artifactory_secret=artifactory_secret, artifactory_config_map=artifactory_config_map

0 commit comments

Comments
 (0)