Skip to content

Commit f6fea7d

Browse files
committed
Add missing upgrade path for C9S and C10S
Skipp Fedora tests for migration Remove copying script check-db.sql that does not exist anymore Signed-off-by: Petr "Stone" Hracek <phracek@redhat.com>
1 parent 24c429a commit f6fea7d

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

test/conftest.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,9 @@
5252
UPGRADE_PATH_DICT = {
5353
"rhel8": "none 12 13 15 16 18 none",
5454
"rhel9": "none 13 15 16 18 none",
55+
"c9s": "none 13 15 16 18 none",
5556
"rhel10": "none 16 18 none",
57+
"c10s": "none 16 18 none",
5658
"fedora": "none 15 16 18 none",
5759
}
5860
VARS = Vars(

test/test_container_migrate.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,11 @@ def test_migration_functionality(self, version_to_migrate):
4141
2. Create a container with the new version and run pg_upgrade with migration options
4242
3. Test if the database connection works
4343
"""
44+
if VARS.OS == "fedora":
45+
pytest.skip("Skip migration test on fedora")
4446
assert ContainerTestLibUtils.commands_to_run(
4547
commands_to_run=[
4648
f"setfacl -m u:26:-wx {self.migrate_volume_dir}",
47-
f"cp {VARS.TEST_DIR}/pagila/check_db.sql {self.migrate_volume_dir}/check-db.sql",
4849
]
4950
)
5051
if int(version_to_migrate) >= int(VARS.VERSION):

0 commit comments

Comments
 (0)