-
Notifications
You must be signed in to change notification settings - Fork 188
Closed
Labels
bugSomething isn't workingSomething isn't workinggoPull requests that update go codePull requests that update go codevmcpVirtual MCP Server related issuesVirtual MCP Server related issues
Description
TestServer_HealthMonitoring_Enabled in pkg/vmcp/server/health_monitoring_test.go is flaky due to tight timing thresholds.
The test uses:
check_interval=50msunhealthy_threshold=1timeout=10msdegraded_threshold=5ms
Under load or with the race detector enabled, the health check can exceed the 5ms degraded threshold, causing the test to see "degraded" instead of the expected "healthy" status.
health_monitoring_test.go:152:
Error: Not equal:
expected: "healthy"
actual : "degraded"
The fix should increase the timing thresholds to be more tolerant of CI/local machine variance.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinggoPull requests that update go codePull requests that update go codevmcpVirtual MCP Server related issuesVirtual MCP Server related issues