- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for TestRaulStatsRaceCondition (0.09 seconds)
-
cmd/http-tracer_test.go
// TestHTTPStatsRaceCondition tests the race condition fix for HTTPStats. // This test specifically addresses the race between: // - Write operations via updateStats. // - Read operations via toServerHTTPStats(false). func TestRaulStatsRaceCondition(t *testing.T) { httpStats := newHTTPStats() // Simulate the concurrent scenario from the original race condition: // Multiple HTTP request handlers updating stats concurrently,
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 5.3K bytes - Click Count (0)