cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aadamc...@apache.org
Subject cayenne git commit: NPE in BaseSchemaUpdateStrategy
Date Tue, 15 Nov 2016 11:26:52 GMT
Repository: cayenne
Updated Branches:
  refs/heads/master 627a67334 -> 4bd2cad0c


NPE in BaseSchemaUpdateStrategy


Project: http://git-wip-us.apache.org/repos/asf/cayenne/repo
Commit: http://git-wip-us.apache.org/repos/asf/cayenne/commit/4bd2cad0
Tree: http://git-wip-us.apache.org/repos/asf/cayenne/tree/4bd2cad0
Diff: http://git-wip-us.apache.org/repos/asf/cayenne/diff/4bd2cad0

Branch: refs/heads/master
Commit: 4bd2cad0c06c4d444b51f5417b9bfb22aefe2075
Parents: 627a673
Author: Andrei Tomashpolskiy <nordmann89@gmail.com>
Authored: Tue Nov 15 14:14:20 2016 +0300
Committer: Andrei Tomashpolskiy <nordmann89@gmail.com>
Committed: Tue Nov 15 14:14:20 2016 +0300

----------------------------------------------------------------------
 .../access/dbsync/BaseSchemaUpdateStrategy_ConcurrencyTest.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cayenne/blob/4bd2cad0/cayenne-server/src/test/java/org/apache/cayenne/access/dbsync/BaseSchemaUpdateStrategy_ConcurrencyTest.java
----------------------------------------------------------------------
diff --git a/cayenne-server/src/test/java/org/apache/cayenne/access/dbsync/BaseSchemaUpdateStrategy_ConcurrencyTest.java
b/cayenne-server/src/test/java/org/apache/cayenne/access/dbsync/BaseSchemaUpdateStrategy_ConcurrencyTest.java
index 695202d..d1f22ce 100644
--- a/cayenne-server/src/test/java/org/apache/cayenne/access/dbsync/BaseSchemaUpdateStrategy_ConcurrencyTest.java
+++ b/cayenne-server/src/test/java/org/apache/cayenne/access/dbsync/BaseSchemaUpdateStrategy_ConcurrencyTest.java
@@ -80,7 +80,7 @@ public class BaseSchemaUpdateStrategy_ConcurrencyTest {
                 public void run() {
                     try {
                         strategy.updateSchema(dataNode);
-                    } catch (SQLException e) {
+                    } catch (Throwable e) {
                         LOGGER.error("error in test", e);
                         errors.set(true);
                     }


Mime
View raw message