summaryrefslogtreecommitdiffstats
path: root/tests/threadingmqaq.sh
diff options
context:
space:
mode:
authorSuper-User <root@unknown.(none)>2010-04-21 17:36:03 +0100
committerSuper-User <root@unknown.(none)>2010-04-21 17:36:03 +0100
commitb526e3d92f214aa2a3d0e3c2746884e9a9dba411 (patch)
tree421db4a791fc990a694b579cbf5b56fda0eb741b /tests/threadingmqaq.sh
parent74000ea71eb47c19653e0cd7bbffb83d913c3923 (diff)
downloadrsyslog-b526e3d92f214aa2a3d0e3c2746884e9a9dba411.tar.gz
rsyslog-b526e3d92f214aa2a3d0e3c2746884e9a9dba411.tar.xz
rsyslog-b526e3d92f214aa2a3d0e3c2746884e9a9dba411.zip
bugfix: some race condition in testbench on Solaris/Sparc
Diffstat (limited to 'tests/threadingmqaq.sh')
-rwxr-xr-xtests/threadingmqaq.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/threadingmqaq.sh b/tests/threadingmqaq.sh
index b7764821..0104be00 100755
--- a/tests/threadingmqaq.sh
+++ b/tests/threadingmqaq.sh
@@ -12,6 +12,9 @@ source $srcdir/diag.sh startup threadingmqaq.conf
#source $srcdir/diag.sh tcpflood -c2 -m100000
#source $srcdir/diag.sh shutdown-when-empty # shut down rsyslogd when done processing messages
source $srcdir/diag.sh injectmsg 0 100000
+# we need to sleep a bit on some environments, as imdiag can not correctly
+# diagnose when the action queues are empty...
+sleep 3
source $srcdir/diag.sh shutdown-when-empty # shut down rsyslogd when done processing messages
source $srcdir/diag.sh wait-shutdown
source $srcdir/diag.sh seq-check 0 99999