Reland "fido: make AuthenticatorTestBase set the MOCK_TIME TaskEnvironment trait"
This reverts commit 02303ee2. Reason for revert: Original CL did not cause the test failure Original change's description: > Revert "fido: make AuthenticatorTestBase set the MOCK_TIME TaskEnvironment trait" > > This reverts commit f55cd37e. > > Reason for revert: The tests testAuthenticatorImplGetAssertionBridge_resultCanceled and testAuthenticatorImplGetAssertionBridgeWithUvmRequestedWithUvmResponded_success in org.chromium.chrome.browser.webauth.Fido2CredentialRequestTest consistently fail on android-pie-x86-rel since https://ci.chromium.org/p/chromium/builders/ci/android-pie-x86-rel/1498. > This CL is the only one that touches authenticator_impl around that time. Revert it to see if it can fix the failure > > Original change's description: > > fido: make AuthenticatorTestBase set the MOCK_TIME TaskEnvironment trait > > > > This allows us to get rid of base::Timer injection into > > AuthenticatorCommon, which tests used to wait for requests to time out. > > > > Also get remove a number of superfluous RunUntilIdle() calls, and of > > calls to OverrideLastCommittedOrigin() where SimulateNavigation() would > > suffice. > > > > Change-Id: I8cb4980d51efe43f59d828cde5f34ce67d38d928 > > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2299630 > > Auto-Submit: Martin Kreichgauer <martinkr@google.com> > > Reviewed-by: Jared Saul <jsaul@google.com> > > Reviewed-by: Adam Langley <agl@chromium.org> > > Commit-Queue: Martin Kreichgauer <martinkr@google.com> > > Cr-Commit-Position: refs/heads/master@{#788885} > > TBR=agl@chromium.org,jsaul@google.com,martinkr@google.com > > Change-Id: I47c8796582f40f1946811b5eca4ae3cdfe5aac0f > No-Presubmit: true > No-Tree-Checks: true > No-Try: true > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2303030 > Reviewed-by: Haiyang Pan <hypan@google.com> > Commit-Queue: Haiyang Pan <hypan@google.com> > Cr-Commit-Position: refs/heads/master@{#789079} TBR=agl@chromium.org,jsaul@google.com,martinkr@google.com,hypan@google.com # Not skipping CQ checks because this is a reland. Change-Id: I0a07662127df43624d7fa69c165d2503107514aa Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2303567Reviewed-by:Haiyang Pan <hypan@google.com> Commit-Queue: Martin Kreichgauer <martinkr@google.com> Cr-Commit-Position: refs/heads/master@{#789304}
Showing
This diff is collapsed.
Please register or sign in to comment