db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rhille...@apache.org
Subject svn commit: r1380207 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/lang/UngroupedAggregatesNegativeTest.java
Date Mon, 03 Sep 2012 11:24:01 GMT
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 );
             }



Mime
View raw message