Project

General

Profile

Actions

Defect #36361

closed

IssueRelationsControllerTest#test_bulk_create_should_show_errors randomly fails

Added by Yuichi HARADA almost 3 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Code cleanup/refactoring
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(r21326)
  • Run the test specified a seed value( TESTOPTS="--seed 21802" )
% RAILS_ENV=test bundle exec rake db:migrate:reset

% RAILS_ENV=test bundle exec rake test TESTOPTS="--seed 21802" 
(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 21802

# Running:

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

Failure:
IssueRelationsControllerTest#test_bulk_create_should_show_errors [test/functional/issue_relations_controller_test.rb:270]:
"IssueRelation.count" didn't change by 3.
Expected: 5
  Actual: 6

rails test test/functional/issue_relations_controller_test.rb:269

.....

Finished in 585.005343s, 9.0649 runs/s, 41.6201 assertions/s.
5303 runs, 24348 assertions, 1 failures, 0 errors, 8 skips

Files

36361.patch (3.9 KB) 36361.patch Yuichi HARADA, 2021-12-27 08:17
Actions

Also available in: Atom PDF