forked from mirror/ledisdb
ledis test change port to 16380
This commit is contained in:
parent
4d492f3aea
commit
74d18cd6d3
|
@ -14,7 +14,7 @@ var testPool *redis.Pool
|
||||||
|
|
||||||
func newTestRedisPool() {
|
func newTestRedisPool() {
|
||||||
f := func() (redis.Conn, error) {
|
f := func() (redis.Conn, error) {
|
||||||
c, err := redis.Dial("tcp", "127.0.0.1:6380")
|
c, err := redis.Dial("tcp", "127.0.0.1:16380")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
@ -37,7 +37,7 @@ func startTestApp() {
|
||||||
|
|
||||||
var d = []byte(`
|
var d = []byte(`
|
||||||
{
|
{
|
||||||
"addr" : "127.0.0.1:6380",
|
"addr" : "127.0.0.1:16380",
|
||||||
"leveldb" :
|
"leveldb" :
|
||||||
{
|
{
|
||||||
"path" : "/tmp/testdb",
|
"path" : "/tmp/testdb",
|
||||||
|
|
Loading…
Reference in New Issue