diff --git a/libvirt/tests/src/daemon/conf_file/libvirtd_conf/set_audit_logging.py b/libvirt/tests/src/daemon/conf_file/libvirtd_conf/set_audit_logging.py index 7ecf2db04c..0add0138d9 100644 --- a/libvirt/tests/src/daemon/conf_file/libvirtd_conf/set_audit_logging.py +++ b/libvirt/tests/src/daemon/conf_file/libvirtd_conf/set_audit_logging.py @@ -142,6 +142,7 @@ def check_concurrent_filters(): check_virt_type_from_audit_log() check_msg_in_libvirtd_log("virDomainAudit") elif test_scenario == "default_audit_log": + vm.wait_for_login().close() ausearch_audit_log() elif test_scenario == "concurrent_filters": check_concurrent_filters()