ledis test change port to 16380

This commit is contained in:
siddontang 2014-05-13 08:49:20 +08:00
parent 4d492f3aea
commit 74d18cd6d3
1 changed files with 2 additions and 2 deletions

View File

@ -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",