Skip to content

Commit

Permalink
Update lspci.py
Browse files Browse the repository at this point in the history
Update lspci.py

Update lspci.py

Update lspci.py

Update lspci.py

Update stress.py

Update stress.py

Update stress.py
  • Loading branch information
SRIKKANTH committed Sep 19, 2024
1 parent c8ea16b commit 76bd4a9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions microsoft/testsuites/network/stress.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT license.
from time import sleep
from typing import Any, cast

from assertpy import assert_that
Expand Down Expand Up @@ -274,6 +275,8 @@ def stress_sriov_with_max_nics_reboot_from_platform(
for node in environment.nodes.list():
start_stop = node.features[StartStop]
start_stop.restart()
# Add delay to wait for the network interface ready.
sleep(120)
initialize_nic_info(environment)
sriov_basic_test(environment)

Expand Down Expand Up @@ -304,6 +307,8 @@ def stress_sriov_with_max_nics_stop_start_from_platform(
start_stop = node.features[StartStop]
start_stop.stop()
start_stop.start()
# Add delay to wait for the network interface ready.
sleep(120)
initialize_nic_info(environment)
sriov_basic_test(environment)

Expand Down

0 comments on commit 76bd4a9

Please sign in to comment.