Stress is a test helper that puts stress on a service's start and stop functions so that we can detect any data races that it might have due to improper use of BaseStopStart.
(ctx context.Context, tb testingT, svc startstop.Service)
| 16 | // functions so that we can detect any data races that it might have due to |
| 17 | // improper use of BaseStopStart. |
| 18 | func Stress(ctx context.Context, tb testingT, svc startstop.Service) { |
| 19 | StressErr(ctx, tb, svc, nil) |
| 20 | } |
| 21 | |
| 22 | // StressErr is the same as Stress except that the given allowedStartErr is |
| 23 | // tolerated on start (either no error or an error that is allowedStartErr is |
searching dependent graphs…