Compare commits

...

4 Commits

Author SHA1 Message Date
Adam Williamson 8a36423314 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>
2022-12-24 14:30:03 -08:00
Adam Williamson 1dfae9b44e ...and in the other file too.
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-12-24 13:42:16 -08:00
Adam Williamson f32ee1040a maps: update bike route needle
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-12-24 13:33:07 -08:00
Adam Williamson 21d14ac93d remote_logging: ugh, need to include utils too
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-12-24 13:31:58 -08:00
4 changed files with 19 additions and 0 deletions

View File

@ -0,0 +1,15 @@
{
"area": [
{
"ypos": 354,
"height": 318,
"type": "match",
"xpos": 368,
"width": 102
}
],
"properties": [],
"tags": [
"maps_route_bike_shown"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 415 KiB

View File

@ -2,6 +2,7 @@ use base "installedtest";
use strict;
use testapi;
use lockapi;
use utils;
sub run {
my $self = shift;

View File

@ -3,6 +3,7 @@ use strict;
use testapi;
use lockapi;
use mmapi;
use utils;
sub run {
my $self = shift;
@ -31,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 {