Skip to content

Commit

Permalink
test: increate timeout to tenacious 2 -> 5 sec
Browse files Browse the repository at this point in the history
Signed-off-by: Joachim Wiberg <[email protected]>
  • Loading branch information
troglobit committed Jan 1, 2025
1 parent 5e138b9 commit d46d8cd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/api.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,13 @@ EOF
verify_rfc5424()
{
../src/logger -p ftp.notice -u "${SOCK}" -m "MSDSD" -d '[exampleSDID@32473 iut="3" eventSource="Application" eventID="1011"]' "waldo"
tenacious 2 grep "exampleSDID@32473" "${LOGV1}"
tenacious 5 grep "exampleSDID@32473" "${LOGV1}"
}

verify_fqdn()
{
../src/logger -p ftp.notice -u "${SOCK}" -m "MSDSD" -H "baz.example.com" "Xyzzy"
tenacious 2 grep "baz.example.com" "${LOGV1}"
tenacious 5 grep "baz.example.com" "${LOGV1}"
}

# Expected to fail, logs with LOG_INFO
Expand All @@ -70,13 +70,13 @@ EOF
reload

../src/logger -p local7.info -u "${SOCK}" "nopenope"
tenacious 2 grep "nopenope" "${LOG2}" || return 0
tenacious 5 grep "nopenope" "${LOG2}" || return 0
}

verify_localN_notice()
{
../src/logger -p local7.notice -u "${SOCK}" "aye matey"
tenacious 2 grep "aye matey" "${LOG2}"
tenacious 5 grep "aye matey" "${LOG2}"
}

#
Expand Down

0 comments on commit d46d8cd

Please sign in to comment.