1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-24 14:53:09 +00:00

remote_logging_server: sleep at the end

It seems ending the test right after we create the mutex can
cause the client not to catch it, sometimes. So let's sleep for
a few seconds after creating it to make sure it does.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2022-12-24 14:30:03 -08:00
parent 1dfae9b44e
commit 8a36423314

View File

@ -32,6 +32,8 @@ sub run {
assert_script_run 'grep "XXX RSYSLOG TEST MESSAGE" /var/log/messages';
# tell child test we were successful
mutex_create("rsyslog_message_received");
# give it a few seconds to make sure the client gets it
sleep 10;
}
sub test_flags {