[
https://issues.apache.org/jira/browse/CB-11337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15306657#comment-15306657
]
ASF GitHub Bot commented on CB-11337:
-------------------------------------
GitHub user vladimir-kotikov opened a pull request:
https://github.com/apache/cordova-lib/pull/444
CB-11337 Use latest released platform version in e2e tests
This PR fixes test failure on nightly version, caused by pinned platform
version, that is not yet released. See
[CB-11337](https://issues.apache.org/jira/browse/CB-11337) for details and
error message
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/MSOpenTech/cordova-lib CB-11337
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cordova-lib/pull/444.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #444
----
commit 61f584de5891c52431e40a2dd534ac24cc081fcb
Author: Vladimir Kotikov <[email protected]>
Date: 2016-05-30T13:29:51Z
CB-11337 Use latest released platform version in e2e tests
----
> 'platform add plugin rm end-to-end' test fails when ran on nightly builds
> -------------------------------------------------------------------------
>
> Key: CB-11337
> URL: https://issues.apache.org/jira/browse/CB-11337
> Project: Apache Cordova
> Issue Type: Bug
> Components: CordovaLib
> Reporter: Vladimir Kotikov
> Assignee: Vladimir Kotikov
>
> Cordova-lib tests fail with the following error message
> {noformat}
> 1) platform add plugin rm end-to-end should remove dependency when removing
> parent plugin
> Message:
> Expected { name : 'CordovaError', message : 'Failed to fetch platform ios
> Probably this is either a connection problem, or platform spec is incorrect.
> Check your connection and platform name/version/URL.
> Error: version not found: [email protected]', code
> : 0, context : undefined } to be undefined.
> Stacktrace:
> Error: Expected { name : 'CordovaError', message : 'Failed to fetch
> platform ios
> Probably this is either a connection problem, or platform spec is incorrect.
> Check your connection and platform name/version/URL.
> Error: version not found: [email protected]', code
> : 0, context : undefined } to be undefined.
> at
> /home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/spec-cordova/platform.spec.js:246:25
> at _rejected
> (/home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/node_modules/q/q.js:797:24)
> at
> /home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/node_modules/q/q.js:823:30
> at Promise.when
> (/home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/node_modules/q/q.js:1035:31)
> at Promise.promise.promiseDispatch
> (/home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/node_modules/q/q.js:741:41)
> at
> /home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/node_modules/q/q.js:557:44
> at flush
> (/home/jenkins/jenkins-slave/workspace/cordova-nightly/cordova-lib/cordova-lib/node_modules/q/q.js:108:17)
> at process._tickCallback (node.js:415:13)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]