func checkCounterGE( t *testing.T, s serverutils.TestServerInterface, meta metric.Metadata, e int64, ) { if a := s.MustGetSQLCounter(meta.Name); a < e { t.Error(errors.Errorf("stat %s: expected: actual %d >= %d", meta.Name, a, e)) } }
func checkCounterGE( t *testing.T, s serverutils.TestServerInterface, key string, e int64, ) { if a := s.MustGetSQLCounter(key); a < e { t.Error(errors.Errorf("stat %s: expected: actual %d >= %d", key, a, e)) } }