Skip to content

Commit d36929d

Browse files
[DPE-8062] Enable microceph test for arm64 (#1126)
* Enable ceph test on arm Signed-off-by: Marcelo Henrique Neppel <marcelo.neppel@canonical.com> * Remove arm exclusion Signed-off-by: Marcelo Henrique Neppel <marcelo.neppel@canonical.com> * Change pinned revision to channel Signed-off-by: Marcelo Henrique Neppel <marcelo.neppel@canonical.com> * Format code Signed-off-by: Marcelo Henrique Neppel <marcelo.neppel@canonical.com> --------- Signed-off-by: Marcelo Henrique Neppel <marcelo.neppel@canonical.com>
1 parent 6f84cce commit d36929d

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

tests/integration/test_backups_ceph.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
import pytest
1515
from pytest_operator.plugin import OpsTest
1616

17-
from . import markers
1817
from .helpers import (
1918
backup_operations,
2019
)
@@ -106,7 +105,9 @@ def microceph():
106105
)
107106

108107
logger.info("Setting up microceph")
109-
subprocess.run(["sudo", "snap", "install", "microceph", "--revision", "1169"], check=True)
108+
subprocess.run(
109+
["sudo", "snap", "install", "microceph", "--channel", "squid/stable"], check=True
110+
)
110111
subprocess.run(["sudo", "microceph", "cluster", "bootstrap"], check=True)
111112
subprocess.run(["sudo", "microceph", "disk", "add", "loop,1G,3"], check=True)
112113
subprocess.run(
@@ -184,7 +185,6 @@ def cloud_configs(microceph: ConnectionInformation):
184185
}
185186

186187

187-
@markers.amd64_only
188188
async def test_backup_ceph(ops_test: OpsTest, cloud_configs, cloud_credentials, charm) -> None:
189189
"""Build and deploy two units of PostgreSQL in microceph, test backup and restore actions."""
190190
await backup_operations(

tests/spread/test_backups_ceph.py/task.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,3 @@ execute: |
55
tox run -e integration -- "tests/integration/$TEST_MODULE" --model testing --alluredir="$SPREAD_TASK/allure-results"
66
artifacts:
77
- allure-results
8-
systems:
9-
- -ubuntu-24.04-arm

0 commit comments

Comments
 (0)