no more memcache, go broke for mac 18.1

This commit is contained in:
Bel LaPointe
2022-05-10 06:25:59 -06:00
parent 9914252040
commit cb219e269d
7 changed files with 20 additions and 237 deletions

View File

@@ -146,26 +146,6 @@ func TestImplementations(t *testing.T) {
t.Log("$MONGO not set. Skipping")
}
if _, ok := os.LookupEnv("MEMCACHED"); ok {
if memcache, err := NewMemcache("localhost:11211"); err != nil {
t.Logf("cannot make memcache: %v", err)
} else {
cases = append(cases, memcache)
}
} else {
t.Log("$MEMCACHED not set. Skipping")
}
if _, ok := os.LookupEnv("MEMCACHEDCLUSTER"); ok {
if memcacheCluster, err := NewMemcacheCluster("localhost:11211"); err != nil {
t.Logf("cannot make memcacheCluster: %v", err)
} else {
cases = append(cases, memcacheCluster)
}
} else {
t.Log("$MEMCACHEDCLUSTER not set. Skipping")
}
if _, ok := os.LookupEnv("MINIO"); ok {
if minio, err := minio.NewMinio("localhost:9000", "accesskey", "secretkey"); err != nil {
t.Logf("cannot make minio: %v", err)
@@ -281,14 +261,6 @@ func TestToFromString(t *testing.T) {
key: "leveldb",
t: LEVELDB,
},
{
key: "memcache",
t: MEMCACHE,
},
{
key: "memcachecluster",
t: MEMCACHECLUSTER,
},
{
key: "mongo",
t: MONGO,