Make GrowthExperiments\Tests\MentorHooksTest::testOnUserGetRights more robust
Closed, ResolvedPublic

Description

I've seen two mentions of this test (E.g. https://gerrit.wikimedia.org/r/c/mediawiki/skins/Vector/+/826250/2#message-75b27dfae5af3d30ec28ab1a70c8c99e7b9a7c31) failing non-deterministically, we should take a look and make it more robust.

Event Timeline

Change 826904 had a related patch set uploaded (by Umherirrender; author: Umherirrender):

[mediawiki/extensions/GrowthExperiments@master] tests: Use fake timer for MentorHooksTest

https://gerrit.wikimedia.org/r/826904

Change 826904 merged by jenkins-bot:

[mediawiki/extensions/GrowthExperiments@master] tests: Use fake timer for MentorHooksTest

https://gerrit.wikimedia.org/r/826904

Is there anything else to do, since r826904 is merged now?

Umherirrender claimed this task.

Is there anything else to do, since r826904 is merged now?

Thanks for fixing this, @Urbanecm_WMF!

Is there anything else to do, since r826904 is merged now?

Thanks for fixing this, @Urbanecm_WMF!

I can't take the credit here. The thanks goes to @Umherirrender (who uploaded the patch) and Krinkle, who merged it. Thanks both!