You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-commits@db.apache.org by rh...@apache.org on 2012/09/03 13:24:01 UTC

svn commit: r1380207 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/UngroupedAggregatesNegativeTest.java

Author: rhillegas
Date: Mon Sep  3 11:24:01 2012
New Revision: 1380207

URL: http://svn.apache.org/viewvc?rev=1380207&view=rev
Log:
DERBY-672: Second attempt to fix test for trying to invoke a user-defined aggregate on a small device which doesn't support generics.

Modified:
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/UngroupedAggregatesNegativeTest.java

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/UngroupedAggregatesNegativeTest.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/UngroupedAggregatesNegativeTest.java?rev=1380207&r1=1380206&r2=1380207&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/UngroupedAggregatesNegativeTest.java (original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/UngroupedAggregatesNegativeTest.java Mon Sep  3 11:24:01 2012
@@ -130,7 +130,7 @@ public class UngroupedAggregatesNegative
         } catch (SQLException se)
         {
             String  actualSQLState = se.getSQLState();
-            if ( !"XBCM5".equals( actualSQLState ) && !"XJ001".equals( actualSQLState ) )
+            if ( !"XBCM5".equals( actualSQLState ) && !"XJ001".equals( actualSQLState )  && !"42ZC8".equals( actualSQLState ) )
             {
                 fail( "Unexpected SQLState: " + actualSQLState );
             }