Open Bug 1957720 Opened 19 days ago Updated 10 days ago

Intermittent comm/mail/components/inappnotifications/test/unit/test_in_app_notifications.js | test_getSeed - [test_getSeed : 251] Different ID gives a different seed - 98 != 98

Categories

(Thunderbird :: General, defect, P5)

Tracking

(Not tracked)

People

(Reporter: intermittent-bug-filer, Unassigned)

References

(Regression)

Details

(4 keywords)

I think new in this push so from either bug 1936324 or bug 1950887

Bug 1950887 touched the file so...

Keywords: regression
Regressed by: 1950887

Indeed, assuming the distribution is actually even (which it probably isn't quite). I've thought about this a few times, and the only way I can think of to make this fail less would be to instead assert that we get at least two different seeds when we try a couple of times like at the end of that task. But in theory there's always a case where we only ever get one seed, such is randomness. But I think having an occasional failure is better than a test that accepts the XKCD standard random implementation.

Flags: needinfo?(martin)
You need to log in before you can comment on or make changes to this bug.