diff options
author | Simon Brandhof <simon.brandhof@sonarsource.com> | 2014-11-24 07:33:07 +0100 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@sonarsource.com> | 2014-11-24 07:33:07 +0100 |
commit | 8e37eef9e2b95c2518cee5c7ba2853e252c08265 (patch) | |
tree | 489fec54b191b8e81dba9fd246c6400d35d4ad4b | |
parent | e4665a6017f355ae5f625369abd1fe89a5c01c79 (diff) | |
download | sonarqube-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.java | 1 |
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); |