fix(k1): admit start after reopened standby
This commit is contained in:
@@ -2142,6 +2142,30 @@ def test_ready_prepared_stop_reset_reopen_accepts_fresh_ready(
|
||||
settled
|
||||
)
|
||||
|
||||
successor = ledger.prepare(
|
||||
operation_id=NEXT_START_OPERATION,
|
||||
parent_operation_id=STOP_OPERATION,
|
||||
acquisition_id="acquisition-after-reset-fresh-ready",
|
||||
action="start",
|
||||
identity=IDENTITY,
|
||||
connection=fresh_connection,
|
||||
compatibility_profile_id="xgrids-k1-v0.6.0",
|
||||
payload_sha256="8" * 64,
|
||||
baseline_status=_status(
|
||||
"ready",
|
||||
connection=fresh_connection,
|
||||
observed_at="2026-08-14T11:11:01.000Z",
|
||||
),
|
||||
)
|
||||
|
||||
assert successor.revision == settled.revision + 1
|
||||
assert successor.action == "start"
|
||||
assert successor.stage == "prepared"
|
||||
assert successor.parent_operation_id == STOP_OPERATION
|
||||
assert successor.reconciliations[-1].reconciliation_id == (
|
||||
"prepared-stop-ready-reset-fresh-ready"
|
||||
)
|
||||
|
||||
|
||||
def test_scenario_reset_retires_effective_active_prepared_stop_classification(
|
||||
tmp_path: Path,
|
||||
|
||||
Reference in New Issue
Block a user