[MDEV-31691] Improve mysql-test-run for catalogs Created: 2023-07-15  Updated: 2023-12-22

Status: Open
Project: MariaDB Server
Component/s: Tests
Fix Version/s: 11.5

Type: Task Priority: Major
Reporter: Michael Widenius Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None

Issue Links:
PartOf
is part of MDEV-31542 Add multi-tenancy catalogs to MariaDB Stalled

 Description   

As part of the catalog project, mtr has been enhanced with the new option:
--catalog ; Run all test with a server initialized with catalog support. Catalog 'def' is used.

The option "--use-catalog=name" has been added. The purpose of this is to create a new catalog "name" and run all possible tests in it:

  • Create a catalog directory structure with directories 'def' and 'name'
  • User data in 'name'
  • Add '--catalog=name' option to mysqltest
  • Run mysqltest with --catalog=name
    Note that replication test has to be modified so that the setup replication as setup in the 'def' catalog and then we switch to catalog 'name' for the rest of the tests.

One of the purpose of this task is to get --catalog_name to work.
Another purpose is to add more tests in suite/catalogs to test all catalog specific features.


Generated at Thu Feb 08 10:25:45 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.