Skip to content

Commit

Permalink
Update azure_image_standard.py
Browse files Browse the repository at this point in the history
  • Loading branch information
SRIKKANTH committed Sep 6, 2024
1 parent 40ab038 commit f15d579
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions microsoft/testsuites/core/azure_image_standard.py
Original file line number Diff line number Diff line change
Expand Up @@ -531,11 +531,13 @@ def verify_yum_conf(self, node: Node) -> None:
requirement=simple_requirement(supported_platform_type=[AZURE, READY]),
)
def verify_yum_update(self, node: Node) -> None:
dmesg = node.tools[Dmesg]
if isinstance(node.os, Fedora):
node.execute(
"yum update -y",
sudo=True,
)
log_output = dmesg.get_output(force_run=True)
else:
raise SkippedException(f"Unsupported distro type : {type(node.os)}")

Expand Down

0 comments on commit f15d579

Please sign in to comment.