ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-12516) Fix AlertDispatchDAOTest#testDeleteTargetWithNotices() test
Date Fri, 24 Jul 2015 10:01:05 GMT

    [ 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)

Mime
View raw message