diff options
| author | Thiago Macieira <thiago.macieira@intel.com> | 2022-10-17 08:51:57 -0700 |
|---|---|---|
| committer | Marc Mutz <marc.mutz@qt.io> | 2022-10-18 14:15:51 +0000 |
| commit | d9280bb63b0c5f0557385832cddc6097c50926c9 (patch) | |
| tree | b7724d10a90d2d7e54747e96aeb53af2e34a7025 /src/network/access/qnetworkreply.cpp | |
| parent | 6ba003f73295b896aa6dc1fba099daadb4760209 (diff) | |
tst_QSet: fix flakiness after we removed the fixed, non-zero seed
The "qhash" test relied on the fact that those four elements would
produce a different order with a zero and a non-zero seed. But since
commit b057e32dc455d81f9378d6bd0c58888a7eddd155 removed the setting of a
deterministic non-zero seed, this test had a 1 in 4! chance of failing.
Since 4! = 24, 128 retries should be more than enough to ensure we do
find at least hash seed that provokes a different order.
Fixes: QTBUG-107725
Change-Id: I3c79b7e08fa346988dfefffd171ee61b79ca5489
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
Diffstat (limited to 'src/network/access/qnetworkreply.cpp')
0 files changed, 0 insertions, 0 deletions
