Skip to content

Commit

Permalink
migration: Update migration parameter
Browse files Browse the repository at this point in the history
If there is no '--migrateuri' parameter, we will not get the
expected error message. So update it.

Signed-off-by: cliping <[email protected]>
  • Loading branch information
cliping committed Aug 16, 2023
1 parent 8ba5946 commit 574e17b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,14 @@
nfs_mount_dir =
custom_pki_path = "/etc/pki/qemu"
qemu_tls = "yes"
server_cn = "copy-storage-test.com.cn"
server_cn = "ENTER.YOUR.EXAMPLE.SERVER_CN"
client_cn = "ENTER.YOUR.EXAMPLE.CLIENT_CN"
err_msg = "Certificate does not match the hostname"
status_error = "yes"
migrate_again = "yes"
test_case = "tls_destination"
virsh_migrate_extra = "--tls"
virsh_migrate_extra = "--tls --migrateuri tcp://${server_ip}"
set_ip_addr = "no"

variants:
- p2p:
Expand All @@ -49,8 +50,9 @@
copy_storage_option = "--copy-storage-inc"
variants:
- correct_value:
virsh_migrate_extra_mig_again = "--tls --tls-destination ${server_cn}"
virsh_migrate_extra_mig_again = "--tls --tls-destination ${server_cn} --migrateuri tcp://${server_ip}"
- wrong_value:
server_cn = "copy-storage-test.com.cn"
migrate_again_status_error = "yes"
virsh_migrate_extra_mig_again = "--tls --tls-destination fake${server_cn}"
virsh_migrate_extra_mig_again = "--tls --tls-destination fake${server_cn} --migrateuri tcp://${server_ip}"
err_msg_again = "Certificate does not match the hostname"
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
status_error = "yes"
test_case = "wrong_cert_configuration"
virsh_migrate_extra = "--tls"
set_ip_address = "no"

variants:
- p2p:
Expand Down

0 comments on commit 574e17b

Please sign in to comment.