Actions
Defect #5290
closedr3664 breaks tests on SQLite3
Status:
Closed
Priority:
High
Assignee:
-
Category:
-
Target version:
-
Start date:
2010-04-11
Due date:
% Done:
0%
Estimated time:
Resolution:
Fixed
Affected version:
Description
See http://ci.finn.de/builds/1-8-7_redmine-trunk_sqlite3/3664
Failure: test_put_update_stale_issue(IssuesControllerTest) [/test/functional/issues_controller_test.rb:988:in `test_put_update_stale_issue' /test/functional/issues_controller_test.rb:987:in `test_put_update_stale_issue']: "TimeEntry.count" didn't change by 0. <4> expected but was <5>.
The error does only occur on SQLite3. It passes on MySQL 5.0 and PostgreSQL 8.3.
It seems like SQLite3 does not properly follow the transaction and inserts the TimeEntry even though the transaction is later rolled back (I might be seriously wrong though...)
Actions