Skip to content

Commit 367bee4

Browse files
authored
in_place_upgrade_guest: minor fix to regex pattern (#6572)
Signed-off-by: Julia Graham <[email protected]>
1 parent a72a092 commit 367bee4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libvirt/tests/src/in_place_upgrade_guest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ def verify_upgrade_succeeded(test, params, vm, session, target_release, target_p
202202
test.log.info("Guest page size before upgrade (%s) does not match page size after upgrade (%s)" %
203203
(target_page_size, post_page_size))
204204
test.log.info("Attempting temporary workaround to update the guest default kernel")
205-
kernel_pattern = ".*el%s*.*%sk" % (target_major_release, int(target_page_size) // 1024)
205+
kernel_pattern = ".*el%s.*%sk" % (target_major_release, int(target_page_size) // 1024)
206206
kernel_version = utils_test.get_available_kernel_paths(session, kernel_pattern)[0]
207207
utils_test.update_vm_default_kernel(vm, kernel_version, reboot=True, guest_arch_name=vm_arch_name, timeout=900)
208208

0 commit comments

Comments
 (0)