Project

General

Profile

Actions

Defect #36461

closed

I18nTest#test_custom_pluralization_rules randomly fails

Added by Yuichi HARADA over 2 years ago. Updated over 2 years ago.

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

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

The test will be always failed if the following conditions are met:

  • using trunk(r21372)
  • Run the test specified a seed value( TESTOPTS="--seed 46869" )
% RAILS_ENV=test bundle exec rake db:migrate:reset

% RAILS_ENV=test bundle exec rake test TESTOPTS="--seed 46869" 
(Test LDAP server not configured)
Bazaar non ASCII output test cannot run on this environment.
Encoding.locale_charmap: UTF-8
Skipping LDAP tests.
Run options: --seed 46869

# Running:

.................F

Failure:
Redmine::I18nTest#test_custom_pluralization_rules [test/unit/lib/redmine/i18n_test.rb:262]:
Expected: "one or none" 
  Actual: "more than one" 

rails test test/unit/lib/redmine/i18n_test.rb:259

Files

36461.patch (887 Bytes) 36461.patch Yuichi HARADA, 2022-01-21 06:59

Related issues

Related to Redmine - Defect #36396: Custom I18n Pluralization rules are not applied correctlyClosedGo MAEDA

Actions
Actions

Also available in: Atom PDF