Return-Path: X-Original-To: apmail-cloudstack-issues-archive@www.apache.org Delivered-To: apmail-cloudstack-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 51866C195 for ; Tue, 30 Dec 2014 07:10:13 +0000 (UTC) Received: (qmail 43939 invoked by uid 500); 30 Dec 2014 07:10:13 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 43905 invoked by uid 500); 30 Dec 2014 07:10:13 -0000 Mailing-List: contact issues-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list issues@cloudstack.apache.org Received: (qmail 43896 invoked by uid 500); 30 Dec 2014 07:10:13 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 43893 invoked by uid 99); 30 Dec 2014 07:10:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Dec 2014 07:10:13 +0000 Date: Tue, 30 Dec 2014 07:10:13 +0000 (UTC) From: "ChunFeng (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CLOUDSTACK-8131) MidoNetElementTest testAddDhcpEntry method can not pass test MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CLOUDSTACK-8131?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14260872#comment-14260872 ] ChunFeng commented on CLOUDSTACK-8131: -------------------------------------- this should be a mockito's bug I already submit a issue to mockito community: https://github.com/mockito/mockito/issues/150 > 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)