Files
grafana/pkg/infra/remotecache/memcached_storage_integration_test.go
Karl Persson d93f5bab83 RemoteCache: remove count method (#91581)
* remove count method

* remove count from remote cache

---------

Co-authored-by: jguer <me@jguer.space>
2024-08-06 19:21:00 +02:00

24 lines
471 B
Go

package remotecache
import (
"os"
"testing"
"github.com/grafana/grafana/pkg/setting"
)
func TestIntegrationMemcachedCacheStorage(t *testing.T) {
if testing.Short() {
t.Skip("skipping integration test")
}
u, ok := os.LookupEnv("MEMCACHED_HOSTS")
if !ok || u == "" {
t.Skip("No Memcached hosts provided")
}
opts := &setting.RemoteCacheOptions{Name: memcachedCacheType, ConnStr: u}
client := createTestClient(t, opts, nil)
runTestsForClient(t, client)
}