diff --git a/ledis/tx_test.go b/ledis/tx_test.go index 26888b5..ba15a1c 100644 --- a/ledis/tx_test.go +++ b/ledis/tx_test.go @@ -3,6 +3,7 @@ package ledis import ( "github.com/siddontang/ledisdb/config" "os" + "strings" "testing" ) @@ -201,6 +202,9 @@ func testTx(t *testing.T, name string) { l, err := Open(cfg) if err != nil { + if strings.Contains(err.Error(), "not registered") { + return + } t.Fatal(err) }