Skip to content

Commit

Permalink
Merge pull request #2911 from dzhengfy/fix_migration_after
Browse files Browse the repository at this point in the history
A fix for migration
  • Loading branch information
chunfuwen authored Jul 7, 2020
2 parents 5f71019 + 5649e3d commit 9de72d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libvirt/tests/src/migration/migrate_options_shared.py
Original file line number Diff line number Diff line change
Expand Up @@ -1424,8 +1424,8 @@ def time_diff_between_vm_host(localvm=True):
test.fail("The difference of target_vm_host_time_diff and "
"source_vm_host_time_diff "
"should not more than 1 second")

do_actions_after_migrate(params)
if params.get("actions_after_migration"):
do_actions_after_migrate(params)

if migr_vm_back:
ssh_connection = utils_conn.SSHConnection(server_ip=client_ip,
Expand Down

0 comments on commit 9de72d3

Please sign in to comment.