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

Function TestPoolStats_HasTokenizerPool

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

Source from the content-addressed store, hash-verified

28}
29
30func TestPoolStats_HasTokenizerPool(t *testing.T) {
31 stats := metrics.GetPoolStats()
32 if _, ok := stats["tokenizer"]; !ok {
33 t.Error("expected 'tokenizer' key in pool stats")
34 }
35}
36
37func TestPoolStats_HasParserPool(t *testing.T) {
38 stats := metrics.GetPoolStats()

Callers

nothing calls this directly

Calls 2

GetPoolStatsFunction · 0.92
ErrorMethod · 0.45

Tested by

no test coverage detected