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