[Pkg-javascript-commits] [node-stream-http] 29/208: Fix test failures
Bastien Roucariès
rouca at moszumanska.debian.org
Sun Aug 13 13:39:24 UTC 2017
This is an automated email from the git hooks/post-receive script.
rouca pushed a commit to branch master
in repository node-stream-http.
commit ad930c6041d7ba8ceb53c619a9d213171a8dfecf
Author: John Hiesey <john at hiesey.com>
Date: Tue Jul 7 17:23:32 2015 -0700
Fix test failures
---
test/browser/binary-streaming.js | 2 +-
test/browser/post-binary.js | 4 +++-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/test/browser/binary-streaming.js b/test/browser/binary-streaming.js
index 557c62f..0372b07 100644
--- a/test/browser/binary-streaming.js
+++ b/test/browser/binary-streaming.js
@@ -14,7 +14,7 @@ var skipStreamingCheck = (browserName === 'Opera' || (browserName === 'IE' && br
// Binary data gets corrupted in IE8 or below
var skipVerification = (browserName === 'IE' && browserVersion <= 8)
-var COPIES = 10
+var COPIES = 5
var MIN_PIECES = 2
var referenceOnce = fs.readFileSync(__dirname + '/../server/static/browserify.png')
diff --git a/test/browser/post-binary.js b/test/browser/post-binary.js
index 965ebaa..31b465c 100644
--- a/test/browser/post-binary.js
+++ b/test/browser/post-binary.js
@@ -11,7 +11,9 @@ var browserVersion = browser.major
// Binary request bodies don't work in a bunch of browsers
var skipVerification = ((browserName === 'Opera' && browserVersion <= 11) ||
(browserName === 'IE' && browserVersion <= 10) ||
- (browserName.indexOf('Safari') !== -1 && browserVersion <= 5))
+ (browserName === 'Safari' && browserVersion <= 5) ||
+ (browserName === 'WebKit' && browserVersion <= 534) || // Old mobile safari
+ (browserName === 'Android Browser' && browserVersion <= 4))
var reference = fs.readFileSync(__dirname + '/../server/static/browserify.png')
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-stream-http.git
More information about the Pkg-javascript-commits
mailing list