View Issue Details

IDProjectCategoryView StatusLast Update
0016203mantisbttoolspublic2014-02-07 18:24
Reporterdregad Assigned Todregad  
PrioritynormalSeverityminorReproducibilityrandom
Status closedResolutionfixed 
Product Version1.2.16 
Target Version1.2.16Fixed in Version1.2.16 
Summary0016203: Issue History tests randomly fail
Description

When running this individual test case, it works most of the time, but I occasionally get a failure despite no changes in the code.

TagsNo tags attached.

Activities

dregad

dregad

2013-07-22 06:32

developer   ~0037505

This is apparently caused when history entries are created in rapid sequence (i.e. within the same second), and the RDBMS then returns the records in random order. Since the tests rely on a fixed order of the entries, this causes false failures.

Related Changesets

MantisBT: master-1.2.x 056eb949

2013-07-22 03:02

dregad


Details Diff
IssueHistoryTest: fix random failure with simultaneous entries

This happens when history entries are created in rapid sequence (i.e.
within the same second), and the RDBMS then returns the records in
random order. Since the tests rely on a fixed order of the entries, this
occasionally causes failures.

Fixes 0016203
Affected Issues
0016203
mod - tests/soap/IssueHistoryTest.php Diff File

MantisBT: master 77fa9a5d

2013-07-22 09:02

dregad


Details Diff
IssueHistoryTest: fix random failure with simultaneous entries

This happens when history entries are created in rapid sequence (i.e.
within the same second), and the RDBMS then returns the records in
random order. Since the tests rely on a fixed order of the entries, this
occasionally causes failures.

Fixes 0016203
Affected Issues
0016203
mod - tests/soap/IssueHistoryTest.php Diff File