Skip to content

Commit 7166523

Browse files
committed
Simplify default test as we cannot assume port to be 6379
1 parent 5683097 commit 7166523

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

t/config.t

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,7 @@ __DATA__
2727
--- config
2828
location /t {
2929
content_by_lua_block {
30-
local rc = require("resty.redis.connector").new()
31-
32-
local redis = assert(rc:connect(), "rc:connect should return postively")
33-
assert(redis:set("foo", "bar"), "redis:set should return positvely")
34-
assert(redis:get("foo") == "bar", "get(foo) should return bar")
35-
redis:close()
30+
local rc = assert(require("resty.redis.connector").new())
3631
}
3732
}
3833
--- request

0 commit comments

Comments
 (0)