2021-09-01 16:38:56 +02:00
|
|
|
//go:build memcached
|
2019-03-03 22:04:11 +01:00
|
|
|
// +build memcached
|
|
|
|
|
|
2019-03-08 20:49:16 +01:00
|
|
|
package remotecache
|
2019-03-03 05:25:17 +01:00
|
|
|
|
2019-03-03 21:48:00 +01:00
|
|
|
import (
|
|
|
|
|
"testing"
|
|
|
|
|
|
|
|
|
|
"github.com/grafana/grafana/pkg/setting"
|
|
|
|
|
)
|
2019-03-03 05:25:17 +01:00
|
|
|
|
|
|
|
|
func TestMemcachedCacheStorage(t *testing.T) {
|
2019-03-14 09:27:41 +01:00
|
|
|
opts := &setting.RemoteCacheOptions{Name: memcachedCacheType, ConnStr: "localhost:11211"}
|
2019-03-14 08:57:38 +01:00
|
|
|
client := createTestClient(t, opts, nil)
|
|
|
|
|
runTestsForClient(t, client)
|
2019-03-03 05:25:17 +01:00
|
|
|
}
|