test(web): remove duplicate orchestration recovery test
This commit is contained in:
1 parent
63e6faef62
commit
6049fbea6c
1 file changed
-16
@@ -120,22 +120,6 @@ describe("createOrchestrationRecoveryCoordinator", () => {
|
||||
});
|
||||
});
|
||||
|
||||
it("keeps enough state to explain why bootstrap snapshot recovery requests replay", () => {
|
||||
const coordinator = createOrchestrationRecoveryCoordinator();
|
||||
|
||||
expect(coordinator.beginSnapshotRecovery("bootstrap")).toBe(true);
|
||||
expect(coordinator.classifyDomainEvent(4)).toBe("defer");
|
||||
expect(coordinator.completeSnapshotRecovery(2)).toBe(true);
|
||||
|
||||
expect(coordinator.getState()).toMatchObject({
|
||||
latestSequence: 2,
|
||||
highestObservedSequence: 4,
|
||||
bootstrapped: true,
|
||||
pendingReplay: false,
|
||||
inFlight: null,
|
||||
});
|
||||
});
|
||||
|
||||
it("reports skip state when snapshot recovery is requested while replay is in flight", () => {
|
||||
const coordinator = createOrchestrationRecoveryCoordinator();
|
||||
|
||||
|
||||
Reference in new issue
Block a user