summaryrefslogtreecommitdiffstats
path: root/sonar-testing-harness
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2011-10-25 18:03:27 +0200
committerSimon Brandhof <simon.brandhof@gmail.com>2011-10-25 18:03:27 +0200
commiteb2542446950dd432bcbcca4a613e7ec43bda96f (patch)
treec0d91a47273cb12df60f069a786ec329bb62020b /sonar-testing-harness
parent3c07047ac56b549b0d5fe6543db0666c176ec23c (diff)
downloadsonarqube-eb2542446950dd432bcbcca4a613e7ec43bda96f.tar.gz
sonarqube-eb2542446950dd432bcbcca4a613e7ec43bda96f.zip
SONAR-2642 add unit tests
Diffstat (limited to 'sonar-testing-harness')
-rw-r--r--sonar-testing-harness/src/main/java/org/sonar/test/persistence/DatabaseTestCase.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-testing-harness/src/main/java/org/sonar/test/persistence/DatabaseTestCase.java b/sonar-testing-harness/src/main/java/org/sonar/test/persistence/DatabaseTestCase.java
index 7c8d4543d6c..3e9577165d0 100644
--- a/sonar-testing-harness/src/main/java/org/sonar/test/persistence/DatabaseTestCase.java
+++ b/sonar-testing-harness/src/main/java/org/sonar/test/persistence/DatabaseTestCase.java
@@ -93,7 +93,7 @@ public abstract class DatabaseTestCase {
@AfterClass
public static void stopDatabase() throws Exception {
try {
- DriverManager.getConnection(JDBC_URL + ";shutdown=true");
+ DriverManager.getConnection(JDBC_URL + ";drop=true");
databaseTester.onTearDown();
} catch (Exception e) {
// silently fail