Skip to content

Commit

Permalink
Merge pull request autotest#5111 from cliping/fix-cert
Browse files Browse the repository at this point in the history
migration: Update migration parameter
  • Loading branch information
Yingshun authored Aug 17, 2023
2 parents 659bfe8 + 574e17b commit d0d5f24
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 d0d5f24

Please sign in to comment.