Closed Kerr0220 closed 1 year ago
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
I added my email address to this account, agreed with the license, and clicked the recheck button, but nothing happened. Is there anything wrong?
Hi! I'm a graduate student at UIUC. We are working on a project NonDex to find out flaky tests in open source projects and help developers to fix them.
The flaky test can be caused by the feature of
HashMap
orHashSet
that when you iterate it, the order is non-deterministic. Therefore, sometimes the test passes while sometimes it fails.We have found 2 flaky tests in your project and
com.alibaba.tamper.convertor.CollectionAndCollectionTest
is one of them.The flakiness in this test was caused by the non-deterministic feature of
HashSet
. Therefore, I changed it toLinkedHashSet
which is iterated in a deterministic order. And now the test is un-flaky!Please feel free to ask me any questions about the flaky test! We are working on it. And hope this PR can be accepted!