Project

General

Profile

Actions

Defect #19252

closed

2 IssuesController tests fail with SQLite3 database

Added by Björn Peemöller about 9 years ago. Updated almost 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Database
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Affected version:

Description

Hi, running the test cases of Redmine 3.0.0 using an SQLite3 backend I encountered the following two errors:

$ ruby test/functional/issues_controller_test.rb -n test_index_with_query_grouped_by_tracker_in_reverse_order
Run options: -n test_index_with_query_grouped_by_tracker_in_reverse_order --seed 925

# Running:

F

Finished in 2.918891s, 0.3426 runs/s, 0.6852 assertions/s.

  1) Failure:
IssuesControllerTest#test_index_with_query_grouped_by_tracker_in_reverse_order [test/functional/issues_controller_test.rb:346]:
Expected: [3, 2, 1]
  Actual: [2, 3, 1]

1 runs, 2 assertions, 1 failures, 0 errors, 0 skips

and

$ ruby test/functional/issues_controller_test.rb -n test_index_with_query_grouped_by_tracker_in_normal_order
Run options: -n test_index_with_query_grouped_by_tracker_in_normal_order --seed 7058

# Running:

F

Finished in 2.245884s, 0.4453 runs/s, 0.8905 assertions/s.

  1) Failure:
IssuesControllerTest#test_index_with_query_grouped_by_tracker_in_normal_order [test/functional/issues_controller_test.rb:336]:
Expected: [1, 2, 3]
  Actual: [1, 3, 2]

1 runs, 2 assertions, 1 failures, 0 errors, 0 skips

I'm using sqlite3 (1.3.10) and Ruby 2.0.0-p598. Please ask for more information if you need some.

Actions

Also available in: Atom PDF