diff --git a/changelog.md b/changelog.md index 9ae0be8dfb..946fa27555 100644 --- a/changelog.md +++ b/changelog.md @@ -1,7 +1,7 @@ Changelog ========= -## v.2.3.0 - xx XXX, 2015 +## v.2.3.0 - 30 Oct, 2015 Features diff --git a/test/connection.spec.js b/test/connection.spec.js index b3c3fbe983..8383e79454 100644 --- a/test/connection.spec.js +++ b/test/connection.spec.js @@ -351,8 +351,9 @@ describe("connection tests", function () { }; client.on("ready", function () { var rest = Date.now() - time; - // Be on the safe side and accept 100ms above the original value - assert(rest - 100 < 500 && rest >= 500); + assert(rest >= 500); + // Be on the safe side and accept 200ms above the original value + assert(rest - 200 < 500); assert(delayed); end(); }); @@ -380,8 +381,9 @@ describe("connection tests", function () { }; client.on("ready", function () { var rest = Date.now() - time; - // Be on the safe side and accept 100ms above the original value - assert(rest - 100 < 1000 && rest >= 1000); + assert(rest >= 1000); + // Be on the safe side and accept 200ms above the original value + assert(rest - 200 < 1000); assert(delayed); end(); });