grafana/pkg/infra/remotecache/redis_storage_integration_test.go

17 lines
308 B
Go
Raw Normal View History

// +build redis
2019-03-08 13:49:16 -06:00
package remotecache
2019-03-02 21:42:11 -06:00
2019-03-03 14:48:00 -06:00
import (
"testing"
"github.com/grafana/grafana/pkg/setting"
)
2019-03-02 21:42:11 -06:00
func TestRedisCacheStorage(t *testing.T) {
2019-03-03 14:48:00 -06:00
2019-03-14 03:27:41 -05:00
opts := &setting.RemoteCacheOptions{Name: redisCacheType, ConnStr: "localhost:6379"}
2019-03-14 02:57:38 -05:00
client := createTestClient(t, opts, nil)
runTestsForClient(t, client)
2019-03-02 21:42:11 -06:00
}