Fix flakiness in

This fixes at least part of the "Flakiness": CL modifying the code
introduced a real bug in the test, as it should not fail automatically
within |onGetTokenFailure| and it should wait for the execution to

I ran the tests several times, both locally and on try bots without any failure.

Bug: 962976
Change-Id: Id4b88380cfdaaa31445c8ae0ed74956f54ea17d1
Commit-Queue: Pâris Meuleman <>
Reviewed-by: Boris Sazonov <>
Cr-Commit-Position: refs/heads/master@{#662092}
1 file changed