.travis:fix up TestShuffle failure on Arm64#12515
Conversation
pchaigno
left a comment
There was a problem hiding this comment.
Thanks a lot @Jianlin-lv!
Am I understanding correctly that this flake isn't actually specific to ARM?
I validated this by running this unit test 10k times in a loop. Without this patch it failed 93/10000 (~1%); with this patch it didn't fail even once 🎉
From the experience of fixing multiple Travis issues on the ARM platform, |
After shuffling, there is a small probability event that the order of elements has not changed; The results of multiple tests should prevail. Signed-off-by: Jianlin Lv <Jianlin.Lv@arm.com>
c3b4c6a to
0386d1a
Compare
|
The for loop with the single retry has been backported to v1.7 and v1.8 (in progress via #12536), I'm marking this commit for backports too so as to limit CI flakes. |
After shuffling, there is a small probability event that
the order of elements has not changed;
The results of multiple tests should prevail.
Signed-off-by: Jianlin Lv Jianlin.Lv@arm.com
Fixes: #12512