|
17 | 17 | from ocp_resources.virtual_machine_cluster_preference import VirtualMachineClusterPreference |
18 | 18 | from ocp_utilities.monitoring import Prometheus |
19 | 19 | from pyhelper_utils.shell import run_ssh_commands |
20 | | -from pytest_testconfig import py_config |
21 | 20 | from timeout_sampler import TimeoutExpiredError, TimeoutSampler |
22 | 21 |
|
23 | 22 | from tests.observability.constants import KUBEVIRT_VIRT_OPERATOR_READY |
|
34 | 33 | cleanup_artifactory_secret_and_config_map, |
35 | 34 | get_artifactory_config_map, |
36 | 35 | get_artifactory_secret, |
37 | | - get_http_image_url, get_test_artifact_server_url, |
| 36 | + get_test_artifact_server_url, |
38 | 37 | ) |
39 | 38 | from utilities.constants import ( |
40 | 39 | CAPACITY, |
|
49 | 48 | TIMEOUT_15SEC, |
50 | 49 | TIMEOUT_20SEC, |
51 | 50 | TIMEOUT_30SEC, |
| 51 | + TIMEOUT_40MIN, |
52 | 52 | USED, |
53 | 53 | VIRT_HANDLER, |
54 | 54 | Images, |
@@ -710,11 +710,11 @@ def create_windows11_wsl2_vm( |
710 | 710 | name=vm_name, |
711 | 711 | namespace=namespace, |
712 | 712 | client=client, |
713 | | - vm_instance_type=VirtualMachineClusterInstancetype(client=client, name="u1.xlarge"), |
| 713 | + vm_instance_type=VirtualMachineClusterInstancetype(client=client, name="u1.large"), |
714 | 714 | vm_preference=VirtualMachineClusterPreference(client=client, name="windows.11"), |
715 | 715 | data_volume_template={"metadata": dv.res["metadata"], "spec": dv.res["spec"]}, |
716 | 716 | ) as vm: |
717 | | - running_vm(vm=vm) |
| 717 | + running_vm(vm=vm, dv_wait_timeout=TIMEOUT_40MIN) |
718 | 718 | yield vm |
719 | 719 | cleanup_artifactory_secret_and_config_map( |
720 | 720 | artifactory_secret=artifactory_secret, artifactory_config_map=artifactory_config_map |
|
0 commit comments