Commit 99546d68 authored by Benoît Lizé's avatar Benoît Lizé Committed by Commit Bot

customtabs: Fix DetachedResourceRequestTest#testCanDoParallelRequest flakiness.

Bug: 904538
Change-Id: If4099acc9e699c7d6dfc4478b24786cbf931133e
Reviewed-on: https://chromium-review.googlesource.com/c/1335606Reviewed-by: default avatarArthur Sonzogni <arthursonzogni@chromium.org>
Commit-Queue: Benoit L <lizeb@chromium.org>
Cr-Commit-Position: refs/heads/master@{#608307}
parent 96d09bd4
...@@ -77,6 +77,7 @@ public class DetachedResourceRequestTest { ...@@ -77,6 +77,7 @@ public class DetachedResourceRequestTest {
mContext = InstrumentationRegistry.getInstrumentation() mContext = InstrumentationRegistry.getInstrumentation()
.getTargetContext() .getTargetContext()
.getApplicationContext(); .getApplicationContext();
ThreadUtils.runOnUiThreadBlocking(OriginVerifier::clearCachedVerificationsForTesting);
} }
@After @After
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment