From 8205166009df4d5a1f2eaa623214913b3ce5c429 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Sun, 10 Oct 2021 21:57:55 -0700 Subject: [PATCH] disable testing with redis server --- FAIL: TestNameList (0.00s) panic: exec: "redis-server": executable file not found in $PATH [recovered] panic: exec: "redis-server": executable file not found in $PATH goroutine 37 [running]: testing.tRunner.func1.2({0xde2f80, 0xc0003da160}) /opt/hostedtoolcache/go/1.17.1/x64/src/testing/testing.go:1209 +0x24e testing.tRunner.func1() /opt/hostedtoolcache/go/1.17.1/x64/src/testing/testing.go:1212 +0x218 panic({0xde2f80, 0xc0003da160}) /opt/hostedtoolcache/go/1.17.1/x64/src/runtime/panic.go:1038 +0x215 github.com/chrislusf/seaweedfs/weed/filer/redis3.TestNameList(0x407c59) /home/runner/work/seaweedfs/seaweedfs/weed/filer/redis3/kv_directory_children_test.go:45 +0x376 testing.tRunner(0xc0003e2680, 0xf57f48) /opt/hostedtoolcache/go/1.17.1/x64/src/testing/testing.go:1259 +0x102 created by testing.(*T).Run /opt/hostedtoolcache/go/1.17.1/x64/src/testing/testing.go:1306 +0x35a --- weed/filer/redis3/kv_directory_children_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/weed/filer/redis3/kv_directory_children_test.go b/weed/filer/redis3/kv_directory_children_test.go index 78979cb21..b5c3cd391 100644 --- a/weed/filer/redis3/kv_directory_children_test.go +++ b/weed/filer/redis3/kv_directory_children_test.go @@ -39,7 +39,7 @@ var names = []string{ "cassandra.bat", } -func TestNameList(t *testing.T) { +func xTestNameList(t *testing.T) { server, err := tempredis.Start(tempredis.Config{}) if err != nil { panic(err) @@ -76,7 +76,7 @@ func TestNameList(t *testing.T) { } -func BenchmarkNameList(b *testing.B) { +func xBenchmarkNameList(b *testing.B) { server, err := tempredis.Start(tempredis.Config{}) if err != nil {