Skip to content

Commit 2ab103a

Browse files
uncaught
1 parent 1b2f003 commit 2ab103a

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- build
2525
uses: canonical/data-platform-workflows/.github/workflows/[email protected]
2626
with:
27-
channel: 8.0/edge/test-refresh-v3-precheckfail
27+
channel: 8.0/edge/test-refresh-v3-uncaught
2828
artifact-prefix: ${{ needs.build.outputs.artifact-prefix }}
2929
create-git-tags: false
3030
secrets:

refresh_versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ charm_major = 1
22
workload = "8.0.41"
33

44
# autogenerated
5-
charm = "8.0/1.2.0"
5+
charm = "8.0/1.3.0"

src/abstract_charm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class RouterRefresh(charm_refresh.CharmSpecific):
2828

2929
@staticmethod
3030
def run_pre_refresh_checks_after_1_unit_refreshed() -> None:
31-
raise charm_refresh.PrecheckFailed("Backup in progress")
31+
pass
3232

3333
@classmethod
3434
def is_compatible(

src/charm.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ def __init__(self, *args) -> None:
108108
if self.unit.is_leader():
109109
self.app.status = ops.MaintenanceStatus("Waiting for peer relation")
110110
exit()
111+
raise Exception
111112

112113
@property
113114
def _subordinate_relation_endpoint_names(self) -> typing.Optional[typing.Iterable[str]]:

0 commit comments

Comments
 (0)