db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From myrn...@apache.org
Subject svn commit: r578942 - /db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/DataSourceTest.java
Date Mon, 24 Sep 2007 20:12:13 GMT
Author: myrnavl
Date: Mon Sep 24 13:12:11 2007
New Revision: 578942

URL: http://svn.apache.org/viewvc?rev=578942&view=rev
Log:
DERBY-3082 - modify verification pattern in DataSourceTest to accept negative
   values for the hashcode string; this is what gets generated on iseries.


Modified:
    db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/DataSourceTest.java

Modified: db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/DataSourceTest.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/DataSourceTest.java?rev=578942&r1=578941&r2=578942&view=diff
==============================================================================
--- db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/DataSourceTest.java
(original)
+++ db/derby/code/trunk/java/testing/org/apache/derbyTesting/functionTests/tests/jdbcapi/DataSourceTest.java
Mon Sep 24 13:12:11 2007
@@ -91,7 +91,7 @@
      *  (DATABASE=<dbname>), (DRDAID = <drdaid>)"
      */
     private static final String CONNSTRING_FORMAT = 
-        "\\S+@[0-9]+.* \\(XID = .*\\), \\(SESSIONID = [0-9]+\\), " +
+        "\\S+@\\-?[0-9]+.* \\(XID = .*\\), \\(SESSIONID = [0-9]+\\), " +
         "\\(DATABASE = [A-Za-z]+\\), \\(DRDAID = .*\\) "; 
     
     



Mime
View raw message