airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chath...@apache.org
Subject svn commit: r1480510 - in /airavata/trunk/modules/registry/airavata-jpa-registry/src/test: java/org/apache/airavata/persistance/registry/jpa/util/Initialize.java resources/data-derby.sql
Date Thu, 09 May 2013 00:42:01 GMT
Author: chathuri
Date: Thu May  9 00:42:01 2013
New Revision: 1480510

URL: http://svn.apache.org/r1480510
Log:
fixing test failure

Modified:
    airavata/trunk/modules/registry/airavata-jpa-registry/src/test/java/org/apache/airavata/persistance/registry/jpa/util/Initialize.java
    airavata/trunk/modules/registry/airavata-jpa-registry/src/test/resources/data-derby.sql

Modified: airavata/trunk/modules/registry/airavata-jpa-registry/src/test/java/org/apache/airavata/persistance/registry/jpa/util/Initialize.java
URL: http://svn.apache.org/viewvc/airavata/trunk/modules/registry/airavata-jpa-registry/src/test/java/org/apache/airavata/persistance/registry/jpa/util/Initialize.java?rev=1480510&r1=1480509&r2=1480510&view=diff
==============================================================================
--- airavata/trunk/modules/registry/airavata-jpa-registry/src/test/java/org/apache/airavata/persistance/registry/jpa/util/Initialize.java
(original)
+++ airavata/trunk/modules/registry/airavata-jpa-registry/src/test/java/org/apache/airavata/persistance/registry/jpa/util/Initialize.java
Thu May  9 00:42:01 2013
@@ -101,7 +101,7 @@ public class Initialize {
             }
         } catch (Exception e) {
             logger.error(e.getMessage(), e);
-            throw new RuntimeException("Database failure");
+            throw new RuntimeException("Database failure", e);
         } finally {
             try {
                 if (!conn.getAutoCommit()) {

Modified: airavata/trunk/modules/registry/airavata-jpa-registry/src/test/resources/data-derby.sql
URL: http://svn.apache.org/viewvc/airavata/trunk/modules/registry/airavata-jpa-registry/src/test/resources/data-derby.sql?rev=1480510&r1=1480509&r2=1480510&view=diff
==============================================================================
--- airavata/trunk/modules/registry/airavata-jpa-registry/src/test/resources/data-derby.sql
(original)
+++ airavata/trunk/modules/registry/airavata-jpa-registry/src/test/resources/data-derby.sql
Thu May  9 00:42:01 2013
@@ -225,8 +225,8 @@ CREATE TABLE Node_Error
        workflow_instanceID varchar(255),
        node_id varchar(255),
        gfacJobID varchar(255),
-       source_type varchar(255),,
-       error_date TIMESTAMP DEFAULT CURRENT_TIMESTAMP,,
+       source_type varchar(255),
+       error_date TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
        error_msg CLOB,
        error_des CLOB,
        error_code varchar(255),



Mime
View raw message