mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-24 23:03:08 +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:
parent
1dfae9b44e
commit
8a36423314
@ -32,6 +32,8 @@ sub run {
|
|||||||
assert_script_run 'grep "XXX RSYSLOG TEST MESSAGE" /var/log/messages';
|
assert_script_run 'grep "XXX RSYSLOG TEST MESSAGE" /var/log/messages';
|
||||||
# tell child test we were successful
|
# tell child test we were successful
|
||||||
mutex_create("rsyslog_message_received");
|
mutex_create("rsyslog_message_received");
|
||||||
|
# give it a few seconds to make sure the client gets it
|
||||||
|
sleep 10;
|
||||||
}
|
}
|
||||||
|
|
||||||
sub test_flags {
|
sub test_flags {
|
||||||
|
Loading…
Reference in New Issue
Block a user