mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 20:12:31 +01:00
a63c558b20
Performs an upgrade of mariadb from an earlier version to the rpms built in CI. Then checks whether log contains evidence of upgrade in the form of "Needs upgrade" or "Table rebuild required". Designed to check minor version upgrades which should not trigger rebuilds. The test is written in bash script so it can be executed from other CI systems. $ test_upgrade.sh source_version target_version $ test_upgrade.sh source_version # defaults to rpm/ $ test_upgrade.sh source_version --rpm-dir <directory> Binaries must be created with performance schema enabled, or mysql_upgrade complains about missing tables. Upgrade testing is parallelized with a "matrix" of source versions. Others can be introduced later. This was partially designed to catch issues like that seen in https://jira.mariadb.org/browse/MDEV-28727 where a minor version upgrade (e.g. 10.4.8 -> 10.4.26) triggered a system table rebuild. All new code of the whole pull request, including one or several files that are either new files or modified ones, are contributed under the BSD-new license. I am contributing on behalf of my employer Amazon Web Services, Inc. |
||
---|---|---|
.. | ||
code_quality | ||
upgrade_from | ||
async_queries.c | ||
auto_increment.res | ||
auto_increment.tst | ||
big_record.pl | ||
bug25714.c | ||
check_async_queries.pl | ||
check_costs.pl | ||
CMakeLists.txt | ||
connect_test.c | ||
consistent_snapshot.pl | ||
deadlock_test.c | ||
drop_test.pl | ||
export.pl | ||
fork2_test.pl | ||
fork_big.pl | ||
fork_big2.pl | ||
function.res | ||
function.tst | ||
grant.res | ||
index_corrupt.pl | ||
insert_and_repair.pl | ||
insert_test.c | ||
list_test.c | ||
lock_test.pl | ||
lock_test.res | ||
mail_to_db.pl | ||
myisam-big-rows.tst | ||
mysql_client_fw.c | ||
mysql_client_test.c | ||
nonblock-wrappers.h | ||
pmail.pl | ||
prev_record.cc | ||
rename_test.pl | ||
restore-lock.smack | ||
select_test.c | ||
showdb_test.c | ||
ssl_test.c | ||
table_types.pl | ||
test_delayed_insert.pl | ||
thread_test.c | ||
truncate.pl |