Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5645)

Unified Diff: chrome/android/javatests/src/org/chromium/chrome/browser/infobar/InfoBarTest.java

Issue 2331533002: Mark flaky chrome_public tests with @RetryOnFailure Batch 2 (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/android/javatests/src/org/chromium/chrome/browser/infobar/InfoBarContainerTest.java ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/javatests/src/org/chromium/chrome/browser/infobar/InfoBarTest.java
diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/infobar/InfoBarTest.java b/chrome/android/javatests/src/org/chromium/chrome/browser/infobar/InfoBarTest.java
index 7373621777d09577f4acfb134cf688b25fb681eb..dff0124b84b2c6ea5901ff135d598631bd56f8f0 100644
--- a/chrome/android/javatests/src/org/chromium/chrome/browser/infobar/InfoBarTest.java
+++ b/chrome/android/javatests/src/org/chromium/chrome/browser/infobar/InfoBarTest.java
@@ -19,6 +19,7 @@ import org.chromium.base.test.util.AdvancedMockContext;
import org.chromium.base.test.util.CommandLineFlags;
import org.chromium.base.test.util.DisabledTest;
import org.chromium.base.test.util.Feature;
+import org.chromium.base.test.util.RetryOnFailure;
import org.chromium.base.test.util.UrlUtils;
import org.chromium.chrome.browser.ChromeActivity;
import org.chromium.chrome.browser.ChromeSwitches;
@@ -148,6 +149,7 @@ public class InfoBarTest extends ChromeActivityTestCaseBase<ChromeActivity> {
@Smoke
@MediumTest
@Feature({"Browser", "Main"})
+ @RetryOnFailure
public void testInfoBarForGeolocation() throws InterruptedException {
LocationSettingsTestUtil.setSystemLocationSettingEnabled(true);
loadUrl(mTestServer.getURL(GEOLOCATION_PAGE));
@@ -170,6 +172,7 @@ public class InfoBarTest extends ChromeActivityTestCaseBase<ChromeActivity> {
*/
@MediumTest
@Feature({"Browser"})
+ @RetryOnFailure
public void testInfoBarForGeolocationDisappearsOnBack() throws InterruptedException {
LocationSettingsTestUtil.setSystemLocationSettingEnabled(true);
loadUrl(HELLO_WORLD_URL);
@@ -204,6 +207,7 @@ public class InfoBarTest extends ChromeActivityTestCaseBase<ChromeActivity> {
@MediumTest
@CommandLineFlags.Add("force-fieldtrials=DataCompressionProxyPromoVisibility/Enabled")
@Feature({"Browser", "Main"})
+ @RetryOnFailure
public void testDataReductionPromoInfoBar() throws InterruptedException {
ThreadUtils.runOnUiThreadBlocking(new Runnable() {
@Override
@@ -264,6 +268,7 @@ public class InfoBarTest extends ChromeActivityTestCaseBase<ChromeActivity> {
@MediumTest
@CommandLineFlags.Add("force-fieldtrials=DataCompressionProxyPromoVisibility/Enabled")
@Feature({"Browser", "Main"})
+ @RetryOnFailure
public void testDataReductionPromoInfoBarDismissed() throws InterruptedException {
ThreadUtils.runOnUiThreadBlocking(new Runnable() {
@Override
@@ -426,6 +431,7 @@ public class InfoBarTest extends ChromeActivityTestCaseBase<ChromeActivity> {
@Smoke
@MediumTest
@Feature({"Browser", "Main"})
+ @RetryOnFailure
public void testInfoBarForHungRendererCanKillRenderer() throws InterruptedException {
loadUrl(HELLO_WORLD_URL);
@@ -472,6 +478,7 @@ public class InfoBarTest extends ChromeActivityTestCaseBase<ChromeActivity> {
*/
@MediumTest
@Feature({"Browser", "Main"})
+ @RetryOnFailure
public void testInfoBarContainerSwapsWebContents() throws InterruptedException {
// Add an infobar.
LocationSettingsTestUtil.setSystemLocationSettingEnabled(true);
« no previous file with comments | « chrome/android/javatests/src/org/chromium/chrome/browser/infobar/InfoBarContainerTest.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698