You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@polygene.apache.org by pa...@apache.org on 2017/04/02 17:46:10 UTC

[30/51] [abbrv] polygene-java git commit: POLYGENE-153 Fix SQL library tests

POLYGENE-153 Fix SQL library tests


Project: http://git-wip-us.apache.org/repos/asf/polygene-java/repo
Commit: http://git-wip-us.apache.org/repos/asf/polygene-java/commit/03324c60
Tree: http://git-wip-us.apache.org/repos/asf/polygene-java/tree/03324c60
Diff: http://git-wip-us.apache.org/repos/asf/polygene-java/diff/03324c60

Branch: refs/heads/serialization-3.0
Commit: 03324c6045a501fe98e32d14de7bcc0b8656cba1
Parents: 282960e
Author: Paul Merlin <pa...@apache.org>
Authored: Mon Feb 27 15:35:05 2017 +0100
Committer: Paul Merlin <pa...@apache.org>
Committed: Sun Apr 2 19:16:23 2017 +0200

----------------------------------------------------------------------
 .../sql/jmx/DataSourceConfigurationManagerServiceTest.java        | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/polygene-java/blob/03324c60/libraries/sql/src/test/java/org/apache/polygene/library/sql/jmx/DataSourceConfigurationManagerServiceTest.java
----------------------------------------------------------------------
diff --git a/libraries/sql/src/test/java/org/apache/polygene/library/sql/jmx/DataSourceConfigurationManagerServiceTest.java b/libraries/sql/src/test/java/org/apache/polygene/library/sql/jmx/DataSourceConfigurationManagerServiceTest.java
index fc2a922..882df7a 100644
--- a/libraries/sql/src/test/java/org/apache/polygene/library/sql/jmx/DataSourceConfigurationManagerServiceTest.java
+++ b/libraries/sql/src/test/java/org/apache/polygene/library/sql/jmx/DataSourceConfigurationManagerServiceTest.java
@@ -82,6 +82,7 @@ public class DataSourceConfigurationManagerServiceTest
                 // Set up DataSource service that will manage the connection pools
                 new DBCPDataSourceServiceAssembler().identifiedBy( "datasource-service" )
                                                     .visibleIn( Visibility.layer )
+                                                    .withConfig( module, Visibility.layer )
                                                     .assemble( module );
 
                 {
@@ -96,6 +97,7 @@ public class DataSourceConfigurationManagerServiceTest
 
                     // Set up Liquibase service that will create the tables
                     new LiquibaseAssembler().identifiedBy( "liquibase1" )
+                                            .withConfig( testModule, Visibility.module )
                                             .applyChangelogOnStartup()
                                             .assemble( testModule );
                     testModule.forMixin( LiquibaseConfiguration.class ).declareDefaults()
@@ -115,6 +117,7 @@ public class DataSourceConfigurationManagerServiceTest
 
                     // Set up Liquibase service that will create the tables
                     new LiquibaseAssembler().identifiedBy( "liquibase2" )
+                                            .withConfig( testModule2, Visibility.module )
                                             .applyChangelogOnStartup()
                                             .assemble( testModule2 );
                     testModule2.forMixin( LiquibaseConfiguration.class ).declareDefaults()