forked from mirror/ledisdb
bugfix for test dump
This commit is contained in:
parent
d442a3b185
commit
4db3dbb6f5
|
@ -21,7 +21,7 @@ func TestDump(t *testing.T) {
|
||||||
|
|
||||||
cfgS := config.NewConfigDefault()
|
cfgS := config.NewConfigDefault()
|
||||||
cfgS.DataDir = "/tmp/test_ledis_slave"
|
cfgS.DataDir = "/tmp/test_ledis_slave"
|
||||||
os.RemoveAll(cfgM.DataDir)
|
os.RemoveAll(cfgS.DataDir)
|
||||||
|
|
||||||
var slave *Ledis
|
var slave *Ledis
|
||||||
if slave, err = Open(cfgS); err != nil {
|
if slave, err = Open(cfgS); err != nil {
|
||||||
|
|
Loading…
Reference in New Issue