]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Skip the large TCP assertion failure test in the CI environment
authorOndřej Surý <ondrej@isc.org>
Wed, 2 Sep 2020 11:10:17 +0000 (13:10 +0200)
committerOndřej Surý <ondrej@isc.org>
Wed, 2 Sep 2020 11:11:10 +0000 (13:11 +0200)
bin/tests/system/tcp/tests.sh

index 3fb5f3fd8f8e0fddbdf1701e45d371477d8d9927..710f1bf1511735cfa8b2a82ee69e314d736240b7 100644 (file)
@@ -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"