Project

General

Profile

Actions

Defect #42024

open

RepositoryBazaarTest fails

Added by Katsuya HIDAKA about 1 month ago. Updated 26 days ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Code cleanup/refactoring
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Affected version:

Description

The CI started failing in bin/rails test test/unit/repository_bazaar_test.rb after r23408.
https://github.com/redmine/redmine/actions/runs/12404268715/job/34629160922

Run bin/rails test test/unit/repository_bazaar_test.rb

Run options: --seed 27734

# Running:

E

Error:
RepositoryBazaarTest#test_annotate_latin1_path:
NoMethodError: undefined method `lines' for nil:NilClass

        assert_equal 2, ann1.lines.size
                            ^^^^^^
    test/unit/repository_bazaar_test.rb:194:in `test_annotate_latin1_path'

bin/rails test test/unit/repository_bazaar_test.rb:188

E

Error:
RepositoryBazaarTest#test_entry_latin1_path:
NoMethodError: undefined method `path' for nil:NilClass

                       entry.path
                            ^^^^^
    test/unit/repository_bazaar_test.rb:242:in `block in test_entry_latin1_path'
    test/unit/repository_bazaar_test.rb:239:in `each'
    test/unit/repository_bazaar_test.rb:239:in `test_entry_latin1_path'

bin/rails test test/unit/repository_bazaar_test.rb:229

(snip)

However, rerunning the CI on r23407, the commit immediately before r23408, resulted in the same failure, suggesting that r23408 is not the cause of the issue.


Files

Actions

Also available in: Atom PDF