virt: Fix migration bg command
PATCH 1/1 virt: Fix migration bg command
In migration tests, the command we were using as a 'watchdog' command was tcpdump, but without specifying which interface it should listen to. As this may fail depending on the interface ordering, let's change the command to listen in all interfaces, since this way it's safer and the command won't fail depending on the interface ordering.
Signed-off-by Eduardo Habkost <[email protected]>
--- client/virt/subtests.cfg.sample | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
client/virt/subtests.cfg.sample +1 -1
@@ -350,7 +350,7 @@ variants: - migrate: install setup image_copy unattended_install.cdrom type = migration migration_test_command = help - migration_bg_command = "cd /tmp; nohup tcpdump -q -t ip host localhost" + migration_bg_command = "cd /tmp; nohup tcpdump -q -i any -t ip host localhost" migration_bg_check_command = pgrep tcpdump migration_bg_kill_command = pkill tcpdump kill_vm_on_error = yes
Signature · 1 line
1.7.7.6