Skip to content

Commit c1d6958

Browse files
committed
github-ci: relax block check
1 parent 0a86b0f commit c1d6958

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/netns/afp-ips-netns-bridge.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,8 +209,8 @@ if [ $ACCEPTED -eq 0 ]; then
209209
echo "ERROR should have seen non-0 accepted"
210210
RES=1
211211
fi
212-
if [ $BLOCKED -ne 10 ]; then
213-
echo "ERROR should have seen 10 blocked"
212+
if [ $BLOCKED -lt 10 ]; then
213+
echo "ERROR should have seen 10+ blocked"
214214
RES=1
215215
fi
216216

.github/workflows/netns/nfq-ips-netns-route.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -223,8 +223,8 @@ if [ $ACCEPTED -eq 0 ]; then
223223
echo "ERROR no packets captured"
224224
RES=1
225225
fi
226-
if [ $BLOCKED -ne 10 ]; then
227-
echo "ERROR should have seen 10 blocked"
226+
if [ $BLOCKED -lt 10 ]; then
227+
echo "ERROR should have seen 10+ blocked"
228228
RES=1
229229
fi
230230

0 commit comments

Comments
 (0)