mirror of
https://github.com/grafana/grafana.git
synced 2024-12-02 13:39:19 -06:00
18 lines
330 B
Go
18 lines
330 B
Go
//go:build redis
|
|
// +build redis
|
|
|
|
package remotecache
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/grafana/grafana/pkg/setting"
|
|
)
|
|
|
|
func TestRedisCacheStorage(t *testing.T) {
|
|
|
|
opts := &setting.RemoteCacheOptions{Name: redisCacheType, ConnStr: "addr=localhost:6379"}
|
|
client := createTestClient(t, opts, nil)
|
|
runTestsForClient(t, client)
|
|
}
|