Files
mirror-3x-ui/internal
Sanaei dd46ab8e8b fix(test): keep the network traffic test from starting a real IP lookup
The test added with #6972 built its ServerService with no public IP
state, so GetStatus started the background lookup against the real
IP-echo services and left it running after the test. Under the race
job's shuffle, a public IP test that ran next replaced
http.DefaultTransport while that goroutine was still reading it: DATA
RACE in TestPublicIPRefreshIsSingleFlightAndKeepsCachedReadsAvailable
(race on #6966, run 45442523620).

Build the service the way the container-scope test does, with a cached
address and no lookup due. A probe on GetStatus showed the lookup
starting before and not after.
2026-11-24 20:38:38 +03:30
..
2026-10-25 20:08:14 +01:00