mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-10-03 20:59:36 +00:00
TestStartupWatchdogLogsPhaseAndStack polls a bytes.Buffer while the watchdog goroutine writes the same buffer through zerolog, so 'go test -race' reports a read/write data race at service_health_test.go:134 and fails the rest-0 backend shard. Capture the log through a mutex-guarded buffer so the poll and the watchdog write are serialized. Change-source: pulse-maintainer |
||
|---|---|---|
| .. | ||
| gzip_middleware.go | ||
| gzip_middleware_test.go | ||
| memlimit.go | ||
| memlimit_test.go | ||
| metrics_port.go | ||
| metrics_port_test.go | ||
| metrics_test.go | ||
| metrics_wire_test.go | ||
| server.go | ||
| server_helpers_test.go | ||
| server_test.go | ||
| service_health.go | ||
| service_health_test.go | ||
| startup_watchdog.go | ||
| startup_watchdog_test.go | ||
| telemetry_licensed_features.go | ||
| telemetry_licensed_features_guard_test.go | ||
| telemetry_licensed_features_test.go | ||
| telemetry_node_test_tally.go | ||
| telemetry_pulse_intelligence.go | ||
| telemetry_pulse_intelligence_test.go | ||