MarkReadyForTesting forces the supervisor into StateReady without going through Connect. Test-only backdoor; production code must not call this.
()
| 212 | // MarkReadyForTesting forces the supervisor into StateReady without going |
| 213 | // through Connect. Test-only backdoor; production code must not call this. |
| 214 | func (s *Supervisor) MarkReadyForTesting() { s.tracker.Set(StateReady) } |
| 215 | |
| 216 | // Restarted returns a channel closed the next time the supervisor |
| 217 | // completes a successful restart. The channel is replaced after each |