Skip to content

Commit

Permalink
Resolved dmesg blocking issue
Browse files Browse the repository at this point in the history
  • Loading branch information
r-dailey committed Dec 11, 2024
1 parent 0915710 commit 79d0a2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion microsoft/testsuites/core/timesync.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,7 @@ def verify_timesync_unbind_clocksource(self, node: Node, log: Logger) -> None:
).is_subset_of(clocksource)

# 2. Check CPU flag contains constant_tsc from /proc/cpuinfo.
dmesg = node.tools[Dmesg]
if CpuArchitecture.X64 == arch:
if not isinstance(node.os, BSD):
cpu_info_result = cat.run("/proc/cpuinfo")
Expand All @@ -225,7 +226,6 @@ def verify_timesync_unbind_clocksource(self, node: Node, log: Logger) -> None:
f" equal to cpu count."
).is_equal_to(lscpu.get_core_count())
else:
dmesg = node.tools[Dmesg]
cpu_info_results = self.__freebsd_tsc_filter.findall(
dmesg.get_output()
)
Expand Down

0 comments on commit 79d0a2a

Please sign in to comment.