Skip to content

Commit

Permalink
Merge pull request autotest#5466 from cliping/fix-socket
Browse files Browse the repository at this point in the history
migration: Fix unix socket number issue
  • Loading branch information
Yingshun authored Mar 4, 2024
2 parents db1c5c4 + 3b54ff1 commit 3d9485e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libvirt/tests/src/migration/migrate_over_unix.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ def _check_socket():
global sockets
sockets = [x.strip() for x in _res if socket_pattern.match(x)]
logging.debug("Found sockets: %s", sockets)
return len(sockets) == int(exp_num)
return len(sockets) >= int(exp_num)

found_expected = utils_misc.wait_for(_check_socket, timeout=30)

Expand Down

0 comments on commit 3d9485e

Please sign in to comment.