You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-06 02:15:48 +03:00
Clarify this one test is only applicable for IPv4.
This commit is contained in:
@@ -41,13 +41,14 @@ describe("client authentication", function () {
|
|||||||
client.auth(auth + 'bad');
|
client.auth(auth + 'bad');
|
||||||
});
|
});
|
||||||
|
|
||||||
if (ip === 'IPv4')
|
if (ip === 'IPv4') {
|
||||||
it('allows auth to be provided as config option for client', function (done) {
|
it('allows auth to be provided as config option for client', function (done) {
|
||||||
client = redis.createClient('redis://foo:' + auth + '@' + config.HOST[ip] + ':' + config.PORT);
|
client = redis.createClient('redis://foo:' + auth + '@' + config.HOST[ip] + ':' + config.PORT);
|
||||||
client.on("ready", function () {
|
client.on("ready", function () {
|
||||||
return done();
|
return done();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
}
|
||||||
|
|
||||||
it('allows auth to be provided as part of redis url', function (done) {
|
it('allows auth to be provided as part of redis url', function (done) {
|
||||||
var args = config.configureClient(parser, ip, {
|
var args = config.configureClient(parser, ip, {
|
||||||
|
Reference in New Issue
Block a user