erp5_core_test: Make testWorkflowHistoryList.TestDedup stable.
The precise number of entries in a bucket depend on an estimation of the size of a pickle. The pickled data contains DateTime objects, making an equality test brittle: - DateTime's timezones are stored as strings (ex: 'GMT') whose length depend on Zope's timezone, which is variable - DateTime's time is stored as a floating-point value represented as a string whose length depends on the number of units and decimals are necessary to represent its value, both being variable (one based on when the test was run, the other based on clock precision and exact test execution timing) Instead, restore the originally-considered-acceptable boundary (24) and verify that the generated value is greater or equal to it. If 24 is considered too small to be acceptable, then it is a decision independent from the present change.
Status | Job ID | Name | Coverage | ||||||
---|---|---|---|---|---|---|---|---|---|
External | |||||||||
passed |
#340416
external
|
ERP5.CodingStyleTest-Master |
|
||||||
passed |
#340415
external
|
ERP5.PerformanceTest-Master |
00:25:48
|
||||||
failed |
#340432
external
|
ERP5.UnitTest-Master |
01:16:16
|
||||||
failed |
#340417
external
|
ERP5.UnitTest-Master.Medusa |
|
||||||
passed |
#340450
external
|
SlapOS.Eggs.UnitTest-Master.Python2 |
00:10:12
|
||||||
passed |
#340441
external
|
SlapOS.Eggs.UnitTest-Master.Python3 |
00:11:31
|
||||||
failed |
#340418
external
retried
|
ERP5.UnitTest-Master |
|
||||||
passed |
#340414
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python2 |
|
||||||
passed |
#340413
external
retried
|
SlapOS.Eggs.UnitTest-Master.Python3 |
|
||||||