]> source.dussan.org Git - sonarqube.git/commitdiff
Attempt to speed-up Oracle tests
authorSimon Brandhof <simon.brandhof@sonarsource.com>
Wed, 21 Jan 2015 21:38:22 +0000 (22:38 +0100)
committerSimon Brandhof <simon.brandhof@sonarsource.com>
Wed, 21 Jan 2015 21:38:22 +0000 (22:38 +0100)
sonar-core/src/test/java/org/sonar/core/persistence/AbstractDaoTestCase.java

index b965f4c01644f20060a8c5bea1c0a14e90121cf9..bad01424dfdbcb8830ea0afd5388f7dcbc492710 100644 (file)
@@ -248,6 +248,8 @@ public abstract class AbstractDaoTestCase {
     try {
       IDatabaseConnection connection = databaseTester.getConnection();
       connection.getConfig().setProperty(DatabaseConfig.PROPERTY_DATATYPE_FACTORY, databaseCommands.getDbUnitFactory());
+      connection.getConfig().setFeature(DatabaseConfig.FEATURE_QUALIFIED_TABLE_NAMES, false);
+      connection.getConfig().setFeature(DatabaseConfig.FEATURE_SKIP_ORACLE_RECYCLEBIN_TABLES, true);
       if (MySql.ID.equals(database.getDialect().getId())) {
         connection.getConfig().setProperty(DatabaseConfig.FEATURE_CASE_SENSITIVE_TABLE_NAMES, false);
         connection.getConfig().setProperty(DatabaseConfig.PROPERTY_METADATA_HANDLER, new MySqlMetadataHandler());