Project

General

Profile

Actions

Testing #2118

closed

Unit tests fail repeatedly

Added by liaham 11 months ago. Updated 7 months ago.

Status:
Rejected
Priority:
Normal
Assignee:
Target version:
Start date:
08/29/2024
Due date:
08/29/2024
% Done:

0%

Estimated time:
Compatible Redmine Version:
5.1.z

Description

 FAIL IssueTest#test_assigning_attributes_should_assign_project_and_tracker_first (162.45s)
        unexpected invocation: subject=(Test)
        app/models/issue.rb:473:in `assign_attributes'
        app/models/issue.rb:477:in `attributes='
        test/unit/issue_test.rb:704:in `block in test_assigning_attributes_should_assign_project_and_tracker_first'
        test/unit/issue_test.rb:703:in `test_assigning_attributes_should_assign_project_and_tracker_first'

 FAIL IssueTest#test_issue_overdue_should_respect_user_timezone (185.24s)
        Expected false to be truthy.
        test/unit/issue_test.rb:3381:in `test_issue_overdue_should_respect_user_timezone'
Actions #1

Updated by liaham 11 months ago

The first test failure refers to a higher version of mocha. See also https://www.redmine.org/issues/40603.

Actions #2

Updated by liaham 11 months ago

The error in IssueTest#test_issue_overdue_should_respect_user_timezone does occur on Ubuntu 24.04 but not on Debian 12. It does not matter whether they run with Ruby 3.1.4 or 3.1.5.

Actions #3

Updated by liaham 11 months ago

For xmera Omnia 4.2.4 this will be acceptable since different time zones are not much in the focus of users.

Actions #4

Updated by liaham 11 months ago

  • Target version changed from 4.2.4 to 4.3.0

We will observe this issue further.

Actions #5

Updated by liaham 9 months ago

  • Category set to 29
Actions #6

Updated by liaham 7 months ago

  • Due date set to 08/29/2024
  • Status changed from New to Rejected
  • Start date set to 08/29/2024
  • Compatible Redmine Version 5.1.z added

Is not reproducible anymore!

Actions

Also available in: Atom PDF