mirror of
https://github.com/grafana/grafana.git
synced 2024-11-27 19:30:36 -06:00
ff78103a24
* add anon sessions package * add usage stat fn * implement count for cache * add anonservice to authn broker * lint * add tests for remote cache count * move anon service to services * wrap tagging in goroutine * make func used
18 lines
379 B
Go
18 lines
379 B
Go
//go:build memcached
|
|
// +build memcached
|
|
|
|
package remotecache
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/grafana/grafana/pkg/setting"
|
|
)
|
|
|
|
func TestMemcachedCacheStorage(t *testing.T) {
|
|
opts := &setting.RemoteCacheOptions{Name: memcachedCacheType, ConnStr: "localhost:11211"}
|
|
client := createTestClient(t, opts, nil)
|
|
runTestsForClient(t, client)
|
|
runCountTestsForClient(t, opts, nil)
|
|
}
|