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