diff --git a/scripts/python_tests.sh b/scripts/python_tests.sh index b9ef2cee2..1681cc8af 100755 --- a/scripts/python_tests.sh +++ b/scripts/python_tests.sh @@ -18,6 +18,11 @@ # set -e +# Temporary fix, probably related with https://bugs.launchpad.net/ubuntu/+source/opencv/+bug/1890170 +# MySQL was failling with: +# from . import _mysql +# ImportError: /lib/x86_64-linux-gnu/libstdc++.so.6: cannot allocate memory in static TLS block +export LD_PRELOAD=/lib/x86_64-linux-gnu/libstdc++.so.6 export SUPERSET_CONFIG=${SUPERSET_CONFIG:-tests.integration_tests.superset_test_config} export SUPERSET_TESTENV=true echo "Superset config module: $SUPERSET_CONFIG"