Archive verified rollbacks of interrupted activation journals
ABSDEV Framework CI / framework-ci (push) Successful in 20s

This commit is contained in:
Mark Gregory
2026-11-30 12:37:34 +00:00
parent 054c546c8f
commit 611f8d0f3d
5 changed files with 55 additions and 11 deletions
+3 -1
View File
@@ -120,7 +120,7 @@ class RecoveryTests(unittest.TestCase):
runtime_check=self.runtime_check,
)
def prepare(self, failed=True):
def prepare(self, failed=True, *, interrupted=False):
transaction = self.journal.create(
"example-absdev-net",
@@ -150,6 +150,8 @@ class RecoveryTests(unittest.TestCase):
)
self.releases.activate("2")
if interrupted:
return transaction
transaction = self.journal.transition(
transaction["transaction_id"],