Skip to content

Commit

Permalink
https://github.com/cloudstore/cloudstore/issues/90
Browse files Browse the repository at this point in the history
  • Loading branch information
Marco Nguitragool committed Apr 13, 2020
1 parent ef7dbeb commit 95a8756
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -26,6 +26,7 @@ public static void before_PostgresqlDatabaseAdapterTest() {

System.setProperty(Config.SYSTEM_PROPERTY_PREFIX + CONFIG_KEY_JDBC_DB_NAME_PREFIX, "TEST_");
System.setProperty(Config.SYSTEM_PROPERTY_PREFIX + CONFIG_KEY_JDBC_DB_NAME_SUFFIX, "_TEST");
DatabaseAdapterFactoryRegistry.getInstance().clearCache();
}

@AfterClass
Expand All @@ -38,6 +39,7 @@ public static void after_PostgresqlDatabaseAdapterTest() {

System.clearProperty(Config.SYSTEM_PROPERTY_PREFIX + CONFIG_KEY_JDBC_DB_NAME_PREFIX);
System.clearProperty(Config.SYSTEM_PROPERTY_PREFIX + CONFIG_KEY_JDBC_DB_NAME_SUFFIX);
DatabaseAdapterFactoryRegistry.getInstance().clearCache();
}

protected static String getEnvOrFail(String key) {
Expand Down

0 comments on commit 95a8756

Please sign in to comment.