(t *testing.T, ch <-chan struct{})
| 697 | } |
| 698 | |
| 699 | func waitForSignal(t *testing.T, ch <-chan struct{}) { |
| 700 | t.Helper() |
| 701 | |
| 702 | select { |
| 703 | case <-ch: |
| 704 | case <-time.After(testutil.WaitShort): |
| 705 | t.Fatal("timed out waiting for signal") |
| 706 | } |
| 707 | } |
| 708 | |
| 709 | // TestConfigCache_CallerCancellation verifies the DoChan-based |
| 710 | // cancellation semantics across all four cache methods: |
no test coverage detected