]> source.dussan.org Git - sonarqube.git/commitdiff
Fix compatibility of db tests with non-H2
authorSimon Brandhof <simon.brandhof@sonarsource.com>
Tue, 10 Feb 2015 14:46:03 +0000 (15:46 +0100)
committerSimon Brandhof <simon.brandhof@sonarsource.com>
Tue, 10 Feb 2015 14:46:14 +0000 (15:46 +0100)
by removing commit on auto-commit connections

server/sonar-server/src/test/java/org/sonar/server/source/db/FileSourceTesting.java

index 10c44e5d2598a361d0d159d0f14a00928347f69c..d27d92c4542a672fea30fa32a4b4c08c9969246b 100644 (file)
@@ -45,7 +45,6 @@ public class FileSourceTesting {
     stmt.setString(2, fileUuid);
     stmt.executeUpdate();
     stmt.close();
-    connection.commit();
   }
 
   /**