Fix the failing wsrep test issued in the BZ_1959484

Related: #1982642
This commit is contained in:
Lukas Javorsky 2021-06-09 11:53:14 +02:00 committed by Michal Schorm
parent d6d950b686
commit 3ea985dd05
1 changed files with 8 additions and 0 deletions

View File

@ -34,6 +34,14 @@ replication engine see http://www.codership.com.
%setup -q
%patch0 -p1
# Fix for BZ#1959484
# The script is checking the version without the wsrep API number (the first number separated by dot)
# This could be caused by wrongly providing the version from wsrep_load function
# Issue is already reported here: https://github.com/codership/galera/issues/596
# So we can temporary remove API version from the test to make it work, however, we will wait for the upstream's
# solution in the issue linked above
sed -i '/^GALERA_VER/s/API + //' wsrep/tests/SConscript
%build
%{set_build_flags}