From e8e89be42422cfad00c3ef5bcd622c3c5c124367 Mon Sep 17 00:00:00 2001 From: "wu.chunyang" Date: Thu, 9 Nov 2023 11:17:07 +0800 Subject: [PATCH] Add mariadb backup and replication tests Change-Id: Iea620b256dfa037ea9780273e654850cd0a6f124 --- .zuul.yaml | 4 ++-- trove_tempest_plugin/tests/scenario/test_backup.py | 4 ++++ trove_tempest_plugin/tests/scenario/test_replication.py | 4 ++++ 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/.zuul.yaml b/.zuul.yaml index 90cc378..624df04 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -6,11 +6,11 @@ - tempest-plugin-jobs check: jobs: - - trove-tempest-mysql-5.7.29: + - trove-tempest-ubuntu-base-mysql5.7: voting: false gate: jobs: - - trove-tempest-mysql-5.7.29: + - trove-tempest-ubuntu-base-mysql5.7: voting: false experimental: jobs: diff --git a/trove_tempest_plugin/tests/scenario/test_backup.py b/trove_tempest_plugin/tests/scenario/test_backup.py index 856fbbe..5842209 100644 --- a/trove_tempest_plugin/tests/scenario/test_backup.py +++ b/trove_tempest_plugin/tests/scenario/test_backup.py @@ -165,3 +165,7 @@ class TestBackupPostgreSQL(base_backup.TestBackupBase): @decorators.idempotent_id("ec387400-f412-11ea-a950-00224d6b7bc1") def test_backup_incremental(self): self.backup_incremental_test() + + +class TestBackupMariaDB(TestBackupMySQL): + datastore = 'mariadb' diff --git a/trove_tempest_plugin/tests/scenario/test_replication.py b/trove_tempest_plugin/tests/scenario/test_replication.py index e8c7313..800434d 100644 --- a/trove_tempest_plugin/tests/scenario/test_replication.py +++ b/trove_tempest_plugin/tests/scenario/test_replication.py @@ -183,3 +183,7 @@ class TestReplicationPostgreSQL(base_replication.TestReplicationBase): @decorators.idempotent_id("2f37f064-f418-11ea-a950-00224d6b7bc1") def test_replication(self): self.replication_test() + + +class TestReplicationMariaDB(TestReplicationMySQL): + datastore = 'mariadb'