You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Laszlo Hornyak (JIRA)" <ji...@apache.org> on 2015/03/14 14:15:38 UTC
[jira] [Commented] (CLOUDSTACK-8131) MidoNetElementTest
testAddDhcpEntry method can not pass test
[ https://issues.apache.org/jira/browse/CLOUDSTACK-8131?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14361780#comment-14361780 ]
Laszlo Hornyak commented on CLOUDSTACK-8131:
--------------------------------------------
Hi [~chunfeng],
This test works fine in my environment. Could you share some more details about your environment? Are you using java 1.8? The file TEST-com.cloud.network.element.MidoNetElementTest.xml would be awesome.
Thank you,
Laszlo
> MidoNetElementTest testAddDhcpEntry method can not pass test
> --------------------------------------------------------------
>
> Key: CLOUDSTACK-8131
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8131
> Project: CloudStack
> Issue Type: Test
> Security Level: Public(Anyone can view this level - this is the default.)
> Components: Test
> Affects Versions: Future
> Environment: windows / cygwin
> Reporter: ChunFeng
> Priority: Minor
>
> MidoNetElementTest class can not pass test .
> branch is master:
> after I run command :
> mvn install -P developer,systemvm
> errors as below :
> ------------------
> Running com.cloud.network.element.MidoNetElementTest
> Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.86 sec <<< FAILURE!
> Results :
> Tests in error:
> testAddDhcpEntry(com.cloud.network.element.MidoNetElementTest):
> org.midonet.client.resource.ResourceBase$$EnhancerByMockitoWithCGLIB$$6632ba6e cannot be cast to org.midonet.client.resource.Bridge
> testImplement(com.cloud.network.element.MidoNetElementTest): org.midonet.client.resource.ResourceBase$$EnhancerByMockitoWithCGLIB$$6632ba6e cannot be cast to org.midonet.client.resource.Bridge
> Tests run: 2, Failures: 0, Errors: 2, Skipped: 0
> ------------------
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)