From 386b278b55466ceb8c8cddf18a71aee04ae90ec5 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 12 Jan 2018 05:53:31 +0300 Subject: Ignore memory leaks in travis ci due mysql memory leak. Gitlab ci look like unaffected. --- tools/ci/travis.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tools/ci/travis.sh b/tools/ci/travis.sh index cc1f15ee8..59726efe8 100755 --- a/tools/ci/travis.sh +++ b/tools/ci/travis.sh @@ -203,6 +203,12 @@ EOF ARGS="--load-plugin script_mapquit $ARGS --load-script npc/dev/ci_test.txt" PLUGINS="--load-plugin HPMHooking --load-plugin sample" echo "run tests" + if [[ $DBUSER == "travis" ]]; then + echo "Disable leak dection on travis" + export ASAN_OPTIONS=detect_leaks=0:detect_stack_use_after_return=true:strict_init_order=true + else + export ASAN_OPTIONS=detect_leaks=1:detect_stack_use_after_return=true:strict_init_order=true + fi # run_test spinlock # Not running the spinlock test for the time being (too time consuming) run_test libconfig echo "run all servers without HPM" -- cgit v1.2.3-60-g2f50