プロジェクト

全般

プロフィール

Vote #77718

完了

IssueImportTest#test_should_not_import_with_default_tracker_when_tracker_is_invalid fails randomly

Admin Redmine さんが4年以上前に追加. 4年以上前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
Code cleanup/refactoring_30
対象バージョン:
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
30
version_id:
122
issue_org_id:
23558
author_id:
134867
assigned_to_id:
0
comments:
2
status_id:
5
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
110
ステータス-->[Closed]

説明

To test redmine plugins, I also run redmine tests to verify the plugin doesn't screw things up.

But sometimes I get this Test Failure:

  1) Failure:
IssueImportTest#test_should_not_import_with_default_tracker_when_tracker_is_invalid [test/unit/issue_import_test.rb:89]:
"Tracker cannot be blank" not found in "Tracker doit être renseigné(e)
Statut doit être renseigné(e)"

What I do is:

$ rake db:drop db:create db:migrate redmine:plugins:migrate RAILS_ENV=test REDMINE_LANG=en
....
$ rake redmine:load_default_data RAILS_ENV=test REDMINE_LANG=en
Default configuration data loaded.
$ rake test
....

I happens about once in three runs.
Redmine Version is 3.3.0.

Setting REDMINE_LANG for rake test doesn't help.

Any Ideas?


journals

--------------------------------------------------------------------------------
Merged r15511 and r15512 from trunk.
Thanks for pointing out.
--------------------------------------------------------------------------------

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0