Return-Path: X-Original-To: apmail-cordova-commits-archive@www.apache.org Delivered-To: apmail-cordova-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 805F01824E for ; Thu, 26 Nov 2015 21:45:38 +0000 (UTC) Received: (qmail 9911 invoked by uid 500); 26 Nov 2015 21:45:38 -0000 Delivered-To: apmail-cordova-commits-archive@cordova.apache.org Received: (qmail 9882 invoked by uid 500); 26 Nov 2015 21:45:38 -0000 Mailing-List: contact commits-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list commits@cordova.apache.org Received: (qmail 9872 invoked by uid 99); 26 Nov 2015 21:45:38 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Nov 2015 21:45:38 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 4F517E2C3F; Thu, 26 Nov 2015 21:45:38 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: shazron@apache.org To: commits@cordova.apache.org Message-Id: <50b37b666ded4e0db8ab8818a76fc182@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: cordova-plugin-file-transfer git commit: CB-10088 - filetransfer spec.10 and spec.11 test is faulty Date: Thu, 26 Nov 2015 21:45:38 +0000 (UTC) Repository: cordova-plugin-file-transfer Updated Branches: refs/heads/master c97f544ef -> 3ae73a287 CB-10088 - filetransfer spec.10 and spec.11 test is faulty Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/commit/3ae73a28 Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/tree/3ae73a28 Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/diff/3ae73a28 Branch: refs/heads/master Commit: 3ae73a28792197e38cca797b278617b7b73e3333 Parents: c97f544 Author: Shazron Abdullah Authored: Thu Nov 26 13:45:07 2015 -0800 Committer: Shazron Abdullah Committed: Thu Nov 26 13:45:30 2015 -0800 ---------------------------------------------------------------------- tests/tests.js | 2 ++ 1 file changed, 2 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-plugin-file-transfer/blob/3ae73a28/tests/tests.js ---------------------------------------------------------------------- diff --git a/tests/tests.js b/tests/tests.js index 5c5df8a..d55b7e4 100644 --- a/tests/tests.js +++ b/tests/tests.js @@ -433,6 +433,7 @@ exports.defineAutoTests = function () { it("filetransfer.spec.11 should call the error callback on abort()", function (done) { var fileURL = 'http://cordova.apache.org/downloads/BlueZedEx.mp3'; + fileURL = fileURL + '?q=' + (new Date()).getTime(); transfer.download(fileURL, localFilePath, unexpectedCallbacks.httpWin, done); setTimeout(function() { @@ -468,6 +469,7 @@ exports.defineAutoTests = function () { it("filetransfer.spec.10 should be stopped by abort() right away", function (done) { var fileURL = 'http://cordova.apache.org/downloads/BlueZedEx.mp3'; + fileURL = fileURL + '?q=' + (new Date()).getTime(); expect(transfer.abort).not.toThrow(); // should be a no-op. --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org For additional commands, e-mail: commits-help@cordova.apache.org