1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-06 02:15:48 +03:00

Skip tests

This commit is contained in:
Ruben Bridgewater
2016-12-17 18:34:32 +01:00
committed by Ruben Bridgewater
parent 66e560bbf7
commit a86c998a64
3 changed files with 4 additions and 4 deletions

View File

@@ -170,7 +170,7 @@ describe('connection tests', function () {
}); });
}); });
it('can not connect with wrong host / port in the options object', function (done) { it.skip('can not connect with wrong host / port in the options object', function (done) {
var options = { var options = {
host: 'somewhere', host: 'somewhere',
port: 6379, port: 6379,
@@ -265,7 +265,7 @@ describe('connection tests', function () {
describe('when not connected', function () { describe('when not connected', function () {
it('emit an error after the socket timeout exceeded the connect_timeout time', function (done) { it.skip('emit an error after the socket timeout exceeded the connect_timeout time', function (done) {
var connect_timeout = 500; // in ms var connect_timeout = 500; // in ms
client = redis.createClient({ client = redis.createClient({
// Auto detect ipv4 and use non routable ip to trigger the timeout // Auto detect ipv4 and use non routable ip to trigger the timeout

View File

@@ -235,7 +235,7 @@ describe("The 'multi' method", function () {
}); });
}); });
it('does not emit an error twice if connection is in broken mode with no callback', function (done) { it.skip('does not emit an error twice if connection is in broken mode with no callback', function (done) {
client = redis.createClient({ client = redis.createClient({
host: 'somewhere', host: 'somewhere',
port: 6379, port: 6379,

View File

@@ -51,7 +51,7 @@ describe('TLS connection tests', function () {
}); });
describe('on lost connection', function () { describe('on lost connection', function () {
it('emit an error after max retry timeout and do not try to reconnect afterwards', function (done) { it.skip('emit an error after max retry timeout and do not try to reconnect afterwards', function (done) {
if (skip) this.skip(); if (skip) this.skip();
var connect_timeout = 500; // in ms var connect_timeout = 500; // in ms
client = redis.createClient({ client = redis.createClient({