summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Tangvald <lars.tangvald@oracle.com>2017-07-20 16:17:16 (GMT)
committerLars Tangvald <lars.tangvald@oracle.com>2017-07-20 16:17:16 (GMT)
commitb89cf68d7517c4400a4bd76b6d2a49d24518a8ed (patch)
treed6b9384d6f9df56984194086e91b0cbc5a52564c
parentf3ae8b17be620c3faadfb24032973396164c1967 (diff)
Run test suite with new --report-unstable-tests flag
During the mtr run, any tests that fail, but pass on retry will be reported as a warning instead of an error. This will reduce test run failures due to unstabl tests.
-rwxr-xr-xdebian/rules2
-rwxr-xr-xdebian/tests/upstream2
2 files changed, 2 insertions, 2 deletions
diff --git a/debian/rules b/debian/rules
index 2ce637c..7057198 100755
--- a/debian/rules
+++ b/debian/rules
@@ -154,7 +154,7 @@ else
# Skip replication tests since they are timing sensitive and may
# result in false positives.
- cd $(builddir)/mysql-test && ./mtr --parallel=$(TESTJOBS) --skip-rpl $(MTR_SUITE) --force --skip-test-list=./skiplist || $(TESTSUITE_FAIL_CMD) ;
+ cd $(builddir)/mysql-test && ./mtr --report-unstable-tests --parallel=$(TESTJOBS) --skip-rpl $(MTR_SUITE) --force --skip-test-list=./skiplist || $(TESTSUITE_FAIL_CMD) ;
endif
endif
diff --git a/debian/tests/upstream b/debian/tests/upstream
index 692c0d3..ba3ddee 100755
--- a/debian/tests/upstream
+++ b/debian/tests/upstream
@@ -35,5 +35,5 @@ echo "starting mysql-test-run.pl..."
export PERLLIB=.
./mysql-test-run.pl --suite=main --vardir=$WORKDIR/var --tmpdir=$WORKDIR/tmp \
--skip-ndbcluster --parallel=auto --skip-rpl --report-features \
- --force --skip-test-list=$SKIP_TEST_LST $@ 2>&1
+ --force --skip-test-list=$SKIP_TEST_LST --report-unstable-tests $@ 2>&1
echo "run: OK"