tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From strub...@apache.org
Subject [39/50] tomee git commit: Fixing test breakage caused by logging levels being reset to ALL after HSQLDB update
Date Mon, 19 Feb 2018 10:48:24 GMT
Fixing test breakage caused by logging levels being reset to ALL after HSQLDB update


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

Branch: refs/heads/fb_tomee8
Commit: a73c93f04341068812136c7d073cdb10b9a4f583
Parents: 43ea107
Author: Jonathan Gallimore <jon@jrg.me.uk>
Authored: Mon Jan 22 17:17:13 2018 +0000
Committer: Jonathan Gallimore <jon@jrg.me.uk>
Committed: Mon Jan 22 17:17:13 2018 +0000

----------------------------------------------------------------------
 .../src/test/java/org/superbiz/injection/h3jpa/MoviesTest.java     | 2 ++
 .../multi-jpa-provider-testing/src/test/resources/arquillian.xml   | 1 +
 2 files changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tomee/blob/a73c93f0/examples/jpa-hibernate/src/test/java/org/superbiz/injection/h3jpa/MoviesTest.java
----------------------------------------------------------------------
diff --git a/examples/jpa-hibernate/src/test/java/org/superbiz/injection/h3jpa/MoviesTest.java
b/examples/jpa-hibernate/src/test/java/org/superbiz/injection/h3jpa/MoviesTest.java
index 93f8d39..4de36d3 100644
--- a/examples/jpa-hibernate/src/test/java/org/superbiz/injection/h3jpa/MoviesTest.java
+++ b/examples/jpa-hibernate/src/test/java/org/superbiz/injection/h3jpa/MoviesTest.java
@@ -29,6 +29,8 @@ import java.util.Properties;
 public class MoviesTest extends TestCase {
 
     public void test() throws Exception {
+        System.setProperty("hsqldb.reconfig_logging", "false");
+
         final Properties p = new Properties();
         p.put("movieDatabase", "new://Resource?type=DataSource");
         p.put("movieDatabase.JdbcDriver", "org.hsqldb.jdbcDriver");

http://git-wip-us.apache.org/repos/asf/tomee/blob/a73c93f0/examples/multi-jpa-provider-testing/src/test/resources/arquillian.xml
----------------------------------------------------------------------
diff --git a/examples/multi-jpa-provider-testing/src/test/resources/arquillian.xml b/examples/multi-jpa-provider-testing/src/test/resources/arquillian.xml
index 9ccc5d5..3b112b4 100644
--- a/examples/multi-jpa-provider-testing/src/test/resources/arquillian.xml
+++ b/examples/multi-jpa-provider-testing/src/test/resources/arquillian.xml
@@ -25,6 +25,7 @@
         # force classes to be loaded from webapp classloader and not from system classloader
         # only relevant for embedded tests
         openejb.classloader.forced-load = org.superbiz.model
+        hsqldb.reconfig_logging = false
       </property>
     </configuration>
   </container>


Mime
View raw message