jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (JCLOUDS-857) Tests fail due to Incorrect number of names on @org.jclouds.json.SerializedNames(value=[loadSucceeded, loadErrors, testPassed, testFailures])
Date Wed, 08 Jul 2015 00:01:04 GMT

    [ https://issues.apache.org/jira/browse/JCLOUDS-857?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14617690#comment-14617690
] 

ASF subversion and git services commented on JCLOUDS-857:
---------------------------------------------------------

Commit 1c1cfffd5d0e58ec8b8ad1e3d307c9d0ffaeb000 in jclouds's branch refs/heads/master from
[~gaul]
[ https://git-wip-us.apache.org/repos/asf?p=jclouds.git;h=1c1cfff ]

JCLOUDS-857: remove spurious annotation

Multiple constructors annotated with @SerializedNames confuses
NamingStrategies.translateName and causes failures with newer JDK.
Since the second constructor does not need this annotation we remote
it.


> Tests fail due to Incorrect number of names on @org.jclouds.json.SerializedNames(value=[loadSucceeded,
loadErrors, testPassed, testFailures])
> ---------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: JCLOUDS-857
>                 URL: https://issues.apache.org/jira/browse/JCLOUDS-857
>             Project: jclouds
>          Issue Type: Bug
>          Components: jclouds-labs-google
>    Affects Versions: 1.8.1
>            Reporter: Andrew Gaul
>            Assignee: Andrew Gaul
>              Labels: google-compute-engine
>         Attachments: log.txt
>
>
> Some GCE tests fail due to Incorrect number of names on @org.jclouds.json.SerializedNames(value=[loadSucceeded,
loadErrors, testPassed, testFailures]) when using newer versions of Java:
> {noformat}
> $ mvn clean test -pl google-compute-engine -Dtest=ParseUrlMapValidateTest,UrlMapApiMockTest
> ...
> Failed tests:
>   ParseUrlMapValidateTest>BaseParserTest.test:69 » HttpResponse Error parsing in...
>   UrlMapApiMockTest.validate:115 » IllegalState Incorrect number of names on @or...
> {noformat}
> These tests pass with JDK 7u72 and 8u25 but fail with 7u76 and 8u31.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message