Skip to content

Commit

Permalink
debug some cases
Browse files Browse the repository at this point in the history
Signed-off-by: lcheng <[email protected]>
  • Loading branch information
cliping committed Oct 11, 2023
1 parent c64ce5c commit 1461f52
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,10 @@ def cleanup_migration_host():

try:
setup_test()
# for test
remote.run_remote_cmd("cat /etc/libvirt/qemu.conf", params)
process.run("cat /etc/libvirt/qemu.conf", shell=True)
# for test end
migration_obj.run_migration()
migration_obj.verify_default()
finally:
Expand Down
1 change: 1 addition & 0 deletions provider/migration/base_steps.py
Original file line number Diff line number Diff line change
Expand Up @@ -371,6 +371,7 @@ def remote_add_or_remove_port(self, port, add=True):
firewall_cmd.add_port(port, 'tcp', permanent=True)
else:
firewall_cmd.remove_port(port, 'tcp', permanent=True)
time.sleep(2)
remote_session.close()


Expand Down

0 comments on commit 1461f52

Please sign in to comment.