From 2f320a6b60f2d690e30555178c5038d8f52133f8 Mon Sep 17 00:00:00 2001 From: Andy Wingo Date: Thu, 1 Mar 2018 14:31:42 +0100 Subject: [PATCH] Disable lwAFTR property-based tests unless SNABB_ENABLE_FLAKY_TESTS is set Sadly, these tests are flaky and its failures are gating merges of unrelated patches. We'll work on fixing these tests on Igalia's lwaftr branch. --- src/program/lwaftr/tests/propbased/selftest.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/program/lwaftr/tests/propbased/selftest.sh b/src/program/lwaftr/tests/propbased/selftest.sh index c4e480cf9a..4db3effe54 100755 --- a/src/program/lwaftr/tests/propbased/selftest.sh +++ b/src/program/lwaftr/tests/propbased/selftest.sh @@ -6,6 +6,9 @@ SKIPPED_CODE=43 if [ -z $SNABB_PCI0 ]; then exit $SKIPPED_CODE; fi +# FIXME: Once these tests are passing reliably again, remove this. +if [ -z $SNABB_ENABLE_FLAKY_TESTS ]; then exit $SKIPPED_CODE; fi + ./snabb lwaftr quickcheck program.lwaftr.tests.propbased.prop_nocrash $SNABB_PCI0 ./snabb lwaftr quickcheck program.lwaftr.tests.propbased.prop_nocrash_state $SNABB_PCI0 ./snabb lwaftr quickcheck program.lwaftr.tests.propbased.prop_sameval $SNABB_PCI0