- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestRaulHTTPAPIStatsRaceCondition (0.25 sec)
-
cmd/http-tracer_test.go
t.Logf("Total requests recorded: %d", totalRequests) t.Logf("Race condition test passed - no races detected") } // TestHTTPAPIStatsRaceCondition tests concurrent access to HTTPAPIStats specifically. func TestRaulHTTPAPIStatsRaceCondition(t *testing.T) { stats := &HTTPAPIStats{} const numGoroutines = 50 const opsPerGoroutine = 1000 var wg sync.WaitGroup for i := range numGoroutines { wg.Add(1) go func(id int) {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 5.3K bytes - Viewed (0)