Function
makeFailoverStorageState
(
overrides?: Partial<FailoverStorageState>
)
Source from the content-addressed store, hash-verified
| 1591 | } |
| 1592 | |
| 1593 | const makeFailoverStorageState = ( |
| 1594 | overrides?: Partial<FailoverStorageState> |
| 1595 | ): FailoverStorageState => ({ |
| 1596 | blackholed: false, |
| 1597 | assignSelf: true, |
| 1598 | otherRunnerHealthy: false, |
| 1599 | releaseAllDuration: 0, |
| 1600 | runner: undefined, |
| 1601 | acquireCalls: [], |
| 1602 | refreshCalls: [], |
| 1603 | releaseCalls: [], |
| 1604 | releaseAllCalls: [], |
| 1605 | ...overrides |
| 1606 | }) |
| 1607 | |
| 1608 | const makeFailoverStorage = (state: FailoverStorageState, clock: Clock.Clock) => |
| 1609 | RunnerStorage.RunnerStorage.of({ |
Tested by
no test coverage detected