MCPcopy Create free account
hub / github.com/ajitpratap0/GoSQLX / TestPoolStats_HasParserPool

Function TestPoolStats_HasParserPool

pkg/metrics/pool_stats_test.go:37–42  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

35}
36
37func TestPoolStats_HasParserPool(t *testing.T) {
38 stats := metrics.GetPoolStats()
39 if _, ok := stats["parser"]; !ok {
40 t.Error("expected 'parser' key in pool stats")
41 }
42}
43
44func TestPoolStats_HasASTPool(t *testing.T) {
45 stats := metrics.GetPoolStats()

Callers

nothing calls this directly

Calls 2

GetPoolStatsFunction · 0.92
ErrorMethod · 0.45

Tested by

no test coverage detected