From c978d3efdf33fbc333fbcc820eda6341de9405f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Sur=C3=BD?= Date: Wed, 2 Sep 2020 13:10:17 +0200 Subject: [PATCH] Skip the large TCP assertion failure test in the CI environment --- bin/tests/system/tcp/tests.sh | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/bin/tests/system/tcp/tests.sh b/bin/tests/system/tcp/tests.sh index 3fb5f3fd8f..710f1bf151 100644 --- a/bin/tests/system/tcp/tests.sh +++ b/bin/tests/system/tcp/tests.sh @@ -187,9 +187,13 @@ status=$((status + ret)) n=$((n + 1)) echo_i "checking that BIND 9 doesn't crash on long TCP messages ($n)" ret=0 -$PERL ../packet.pl -a "10.53.0.1" -p "${PORT}" -t tcp -r 300000 1996-alloc_dnsbuf-crash-test.pkt || ret=1 -dig_with_opts +tcp @10.53.0.1 txt.example > dig.out.test$n || ret=1 -if [ $ret != 0 ]; then echo_i "failed"; fi +if [ -z "$CI" ]; then + $PERL ../packet.pl -a "10.53.0.1" -p "${PORT}" -t tcp -r 300000 1996-alloc_dnsbuf-crash-test.pkt || ret=1 + dig_with_opts +tcp @10.53.0.1 txt.example > dig.out.test$n || ret=1 + if [ $ret != 0 ]; then echo_i "failed"; fi +else + echo_i "skipped"; +fi status=$((status + ret)) echo_i "exit status: $status"