Make test_stats_mock non flaky

Change-Id: Idc894d4da368747ef9de2c9be285b441991a44e2
Merge "Make test_stats_mock non flaky"