cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-8294) java 1.8: NiciraNvpApiTest
Date Sun, 01 Mar 2015 12:37:04 GMT

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

ASF GitHub Bot commented on CLOUDSTACK-8294:
--------------------------------------------

GitHub user K0zka opened a pull request:

    https://github.com/apache/cloudstack/pull/92

    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>

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/K0zka/cloudstack CLOUDSTACK-8294

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cloudstack/pull/92.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 #92
    
----
commit 873649eb3b52f2ec25c0e60d2a2465f95c97e428
Author: Laszlo Hornyak <laszlo.hornyak@gmail.com>
Date:   2015-03-01T12:20:51Z

    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