cloudstack-issues 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] (CLOUDSTACK-8294) java 1.8: NiciraNvpApiTest
Date Mon, 02 Mar 2015 11:07:06 GMT

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

ASF subversion and git services commented on CLOUDSTACK-8294:
-------------------------------------------------------------

Commit 873649eb3b52f2ec25c0e60d2a2465f95c97e428 in cloudstack's branch refs/heads/master from
[~kocka]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=873649e ]

CLOUDSTACK-8294: fix for java 1.8 build

The test testFindSecurityProfileByUuid built an assumptio on the order of the arguments after
transforming through a HashMap.

Signed-off-by: Laszlo Hornyak <laszlo.hornyak@gmail.com>


> java 1.8: NiciraNvpApiTest
> --------------------------
>
>                 Key: CLOUDSTACK-8294
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8294
>             Project: CloudStack
>          Issue Type: Sub-task
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Network Devices
>         Environment: fedora 21
> java 1.8
>            Reporter: Laszlo Hornyak
>              Labels: java1.8, test
>
> {noformat}
> -------------------------------------------------------------------------------
> Test set: com.cloud.network.nicira.NiciraNvpApiTest
> -------------------------------------------------------------------------------
> Tests run: 12, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.694 sec <<<
FAILURE! - in com.cloud.network.nicira.NiciraNvpApiTest
> testFindSecurityProfileByUuid(com.cloud.network.nicira.NiciraNvpApiTest)  Time elapsed:
0.079 sec  <<< FAILURE!
> org.mockito.exceptions.verification.junit.ArgumentsAreDifferent:
> Argument(s) are different! Wanted:
> getMethod.setQueryString(
>     [name=uuid, value=aaaa, name=fields, value=*]
> );
> -> at com.cloud.network.nicira.NiciraNvpApiTest.testFindSecurityProfileByUuid(NiciraNvpApiTest.java:153)
> Actual invocation has different arguments:
> getMethod.setQueryString(
>     [name=fields, value=*, name=uuid, value=aaaa]
> );
> -> at com.cloud.utils.rest.RESTServiceConnector.executeRetrieveObject(RESTServiceConnector.java:254)
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
>         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
>         at java.lang.reflect.Constructor.newInstance(Constructor.java:408)
>         at com.cloud.network.nicira.NiciraNvpApiTest.testFindSecurityProfileByUuid(NiciraNvpApiTest.java:153)
> {noformat}



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

Mime
View raw message