Return-Path: X-Original-To: apmail-ambari-dev-archive@www.apache.org Delivered-To: apmail-ambari-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7E92E18FC1 for ; Fri, 24 Jul 2015 10:01:39 +0000 (UTC) Received: (qmail 15032 invoked by uid 500); 24 Jul 2015 10:01:05 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 15002 invoked by uid 500); 24 Jul 2015 10:01:05 -0000 Mailing-List: contact dev-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list dev@ambari.apache.org Received: (qmail 14985 invoked by uid 99); 24 Jul 2015 10:01:05 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Jul 2015 10:01:05 +0000 Date: Fri, 24 Jul 2015 10:01:05 +0000 (UTC) From: "Hudson (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-12516) Fix AlertDispatchDAOTest#testDeleteTargetWithNotices() 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/AMBARI-12516?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14640232#comment-14640232 ] Hudson commented on AMBARI-12516: --------------------------------- SUCCESS: Integrated in Ambari-trunk-Commit #3164 (See [https://builds.apache.org/job/Ambari-trunk-Commit/3164/]) AMBARI-12516. Fix AlertDispatchDAOTest#testDeleteTargetWithNotices() test (dlysnichenko) (dlysnichenko: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=a49c214ada0c1cf922b222e6910fe80c9cc8df21) * ambari-server/src/test/java/org/apache/ambari/server/orm/dao/AlertDispatchDAOTest.java > Fix AlertDispatchDAOTest#testDeleteTargetWithNotices() test > ----------------------------------------------------------- > > Key: AMBARI-12516 > URL: https://issues.apache.org/jira/browse/AMBARI-12516 > Project: Ambari > Issue Type: Task > Components: ambari-admin > Reporter: Dmitry Lysnichenko > Assignee: Dmitry Lysnichenko > Fix For: 2.1.1 > > Attachments: AMBARI-12516.patch > > > {code} > Caused by: java.sql.SQLException: DELETE on table 'ALERT_TARGET' caused a violation of foreign key constraint 'LERTNOTICETARGETID' for key (6). The statement has been rolled back. > at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source) > at org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransportAcrossDRDA(Unknown Source) > ... 55 more > Caused by: ERROR 23503: DELETE on table 'ALERT_TARGET' caused a violation of foreign key constraint 'LERTNOTICETARGETID' for key (6). The statement has been rolled back. > at org.apache.derby.iapi.error.StandardException.newException(Unknown Source) > at org.apache.derby.impl.sql.execute.ReferencedKeyRIChecker.doCheck(Unknown Source) > at org.apache.derby.impl.sql.execute.RISetChecker.doPKCheck(Unknown Source) > at org.apache.derby.impl.sql.execute.DeleteResultSet.collectAffectedRows(Unknown Source) > at org.apache.derby.impl.sql.execute.DeleteResultSet.open(Unknown Source) > at org.apache.derby.impl.sql.GenericPreparedStatement.executeStmt(Unknown Source) > at org.apache.derby.impl.sql.GenericPreparedStatement.execute(Unknown Source) > ... 49 more > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)