Skip to content

Commit d38431b

Browse files
committed
Add timeout for ldap and fix net-snmp
1 parent 761ba13 commit d38431b

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.github/workflows/net-snmp.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ jobs:
8585
run: |
8686
apt-get update
8787
apt-get install -y libperl-dev build-essential autoconf \
88-
libtool pkg-config gettext
88+
libtool pkg-config gettext net-tools
8989
9090
- name: Build net-snmp with wolfProvider
9191
uses: wolfSSL/actions-build-autotools-project@v1

.github/workflows/openldap.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -136,11 +136,12 @@ jobs:
136136
timeout 15m make -j check 2>&1 | tee openldap-test.log
137137
TEST_RESULT=${PIPESTATUS[0]}
138138
if [ $TEST_RESULT -eq 124 ]; then
139-
echo "ERROR: make -j check timed out after 15 minutes with WOLFPROV_FORCE_FAIL=1"
140-
exit 1
139+
echo "make -j check timed out after 15 minutes with WOLFPROV_FORCE_FAIL=1"
140+
echo "Tests failed to complete as expected"
141+
TEST_RESULT=1
141142
fi
142143
else
143144
make -j check 2>&1 | tee openldap-test.log
145+
TEST_RESULT=${PIPESTATUS[0]}
144146
fi
145-
TEST_RESULT=${PIPESTATUS[0]}
146147
$GITHUB_WORKSPACE/.github/scripts/check-workflow-result.sh $TEST_RESULT ${{ matrix.force_fail }} openldap

0 commit comments

Comments
 (0)