diff options
| author | James Sanderson <jsanderson@tailscale.com> | 2025-10-01 14:44:15 +0100 |
|---|---|---|
| committer | James 'zofrex' Sanderson <ZoFreX@GMail.com> | 2025-10-01 15:09:40 +0100 |
| commit | ebc370e517a4221a092c1c2a33cc7b749c651aa0 (patch) | |
| tree | 9560290ef1a70bd8fcf2fb6b888b0b18a392fc7b /control/controlknobs | |
| parent | af1114e896fd16378dbf8f0584b0d55ebd46930b (diff) | |
| download | tailscale-ebc370e517a4221a092c1c2a33cc7b749c651aa0.tar.xz tailscale-ebc370e517a4221a092c1c2a33cc7b749c651aa0.zip | |
ipn/ipnlocal: fail test if more notifies are put than expected
The `put` callback runs on a different goroutine to the test, so calling
t.Fatalf in put had no effect. `drain` is always called when checking what
was put and is called from the test goroutine, so that's a good place to
fail the test if the channel was too full.
Updates #17363
Signed-off-by: James Sanderson <jsanderson@tailscale.com>
Diffstat (limited to 'control/controlknobs')
0 files changed, 0 insertions, 0 deletions
