Skip to content

Commit e297648

Browse files
committed
verify_dns_name_resolution_after_upgrade - mark node dirty after OS update
After OS upgrade sometimes kernel version may change. When LISA is used to validate a VM image with specific kernel version, changing the kernel will result in running tests with undesired kernel which should be avoided. Marking the node dirty after OS update to avoid such issues.
1 parent 711ed3d commit e297648

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • lisa/microsoft/testsuites/core

lisa/microsoft/testsuites/core/dns.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ def verify_dns_name_resolution_after_upgrade(self, node: Node) -> None:
6767
raise PassedException(e) from e
6868

6969
finally:
70+
node.mark_dirty()
7071
self._check_dns_name_resolution(node)
7172
node.reboot()
7273
self._check_dns_name_resolution(node)

0 commit comments

Comments
 (0)