package api import ( "testing" "time" ) func TestScaleLimitConstants(t *testing.T) { if StatsBatchCoalesceInterval != 250*time.Millisecond { t.Fatalf("StatsBatchCoalesceInterval = %v, want 250ms", StatsBatchCoalesceInterval) } if StaleAgentSweepInterval != 45*time.Second { t.Fatalf("StaleAgentSweepInterval = %v, want 45s", StaleAgentSweepInterval) } if StaleAgentThreshold != 3*time.Minute { t.Fatalf("StaleAgentThreshold = %v, want 3m", StaleAgentThreshold) } }