aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2014-11-24 07:33:07 +0100
committerSimon Brandhof <simon.brandhof@sonarsource.com>2014-11-24 07:33:07 +0100
commit8e37eef9e2b95c2518cee5c7ba2853e252c08265 (patch)
tree489fec54b191b8e81dba9fd246c6400d35d4ad4b
parente4665a6017f355ae5f625369abd1fe89a5c01c79 (diff)
downloadsonarqube-8e37eef9e2b95c2518cee5c7ba2853e252c08265.tar.gz
sonarqube-8e37eef9e2b95c2518cee5c7ba2853e252c08265.zip
SONAR-5801 test can not commit an auto-commit connection on non-H2 dbs
-rw-r--r--server/sonar-server/src/test/java/org/sonar/server/source/index/SourceLineResultSetIteratorTest.java1
1 files changed, 0 insertions, 1 deletions
diff --git a/server/sonar-server/src/test/java/org/sonar/server/source/index/SourceLineResultSetIteratorTest.java b/server/sonar-server/src/test/java/org/sonar/server/source/index/SourceLineResultSetIteratorTest.java
index 772d7f9ad8e..e58ad44f63d 100644
--- a/server/sonar-server/src/test/java/org/sonar/server/source/index/SourceLineResultSetIteratorTest.java
+++ b/server/sonar-server/src/test/java/org/sonar/server/source/index/SourceLineResultSetIteratorTest.java
@@ -98,7 +98,6 @@ public class SourceLineResultSetIteratorTest {
PreparedStatement stmt = connection.prepareStatement("UPDATE file_sources SET data = ? WHERE id=1");
stmt.setString(1, "plouf");
stmt.executeUpdate();
- connection.commit();
stmt.close();
SourceLineResultSetIterator iterator = SourceLineResultSetIterator.create(dbClient, connection, 0L);