WORKAROUND - testsuite issues
Dissable running the testuite in memory to workaround OOM problem. Disable testsuite parallelization to allow tests to pass on ppc64le too. These issues are believed to originate in Koji build system and are present mainly in the Rawhide (F38) buildroot. F36 buildroot seems to be most stable out of the current ones.
This commit is contained in:
parent
c140b47963
commit
5c1506c375
@ -636,14 +636,14 @@ export MTR_BUILD_THREAD=$(( $(date +%s) % 2200 ))
|
||||
set -ex
|
||||
cd %{buildroot}%{_datadir}/mysql-test
|
||||
|
||||
export common_testsuite_arguments=" %{?with_debug:--debug-server} --parallel=auto --force --retry=2 --suite-timeout=900 --testcase-timeout=30 --mysqld=--binlog-format=mixed --max-test-fail=5 --report-unstable-tests --clean-vardir "
|
||||
export common_testsuite_arguments=" %{?with_debug:--debug-server} --parallel=1 --force --retry=2 --suite-timeout=900 --testcase-timeout=30 --mysqld=--binlog-format=mixed --max-test-fail=5 --report-unstable-tests --clean-vardir "
|
||||
|
||||
# If full testsuite has already been run on this version and we don't explicitly want the full testsuite to be run
|
||||
if [[ "%{last_tested_version}" == "%{version}" ]] && [[ %{force_run_testsuite} -eq 0 ]]
|
||||
then
|
||||
# in further rebuilds only run the basic "main" suite (~800 tests)
|
||||
echo "running only base testsuite"
|
||||
perl ./mysql-test-run.pl $common_testsuite_arguments --suite=main --mem --skip-test-list=%{skiplist}
|
||||
perl ./mysql-test-run.pl $common_testsuite_arguments --suite=main --skip-test-list=%{skiplist}
|
||||
fi
|
||||
|
||||
# If either this version wasn't marked as tested yet or I explicitly want to run the testsuite, run everything we have (~4000 test)
|
||||
|
Loading…
Reference in New Issue
Block a user