| Index: chrome/android/javatests/src/org/chromium/chrome/browser/ChromeBackgroundServiceTest.java
|
| diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/ChromeBackgroundServiceTest.java b/chrome/android/javatests/src/org/chromium/chrome/browser/ChromeBackgroundServiceTest.java
|
| index 98ad2fbd5b71c26f42e25fb7242ff379cdbea661..0cd08e782dcb0b59426582b707da4414ede8e8b4 100644
|
| --- a/chrome/android/javatests/src/org/chromium/chrome/browser/ChromeBackgroundServiceTest.java
|
| +++ b/chrome/android/javatests/src/org/chromium/chrome/browser/ChromeBackgroundServiceTest.java
|
| @@ -21,6 +21,7 @@ import org.chromium.chrome.browser.precache.PrecacheController;
|
| /**
|
| * Tests {@link ChromeBackgroundService}.
|
| */
|
| +@RetryOnFailure
|
| public class ChromeBackgroundServiceTest extends InstrumentationTestCase {
|
| private Context mContext;
|
| private BackgroundSyncLauncher mSyncLauncher;
|
| @@ -126,14 +127,12 @@ public class ChromeBackgroundServiceTest extends InstrumentationTestCase {
|
|
|
| @SmallTest
|
| @Feature({"NTPSnippets"})
|
| - @RetryOnFailure
|
| public void testNTPSnippetsFetchWifiChargingNoLaunchBrowserWhenInstanceExists() {
|
| startOnRunTaskAndVerify(SnippetsLauncher.TASK_TAG_WIFI_CHARGING, false, false, true, false);
|
| }
|
|
|
| @SmallTest
|
| @Feature({"NTPSnippets"})
|
| - @RetryOnFailure
|
| public void testNTPSnippetsFetchWifiNoLaunchBrowserWhenInstanceExists() {
|
| startOnRunTaskAndVerify(SnippetsLauncher.TASK_TAG_WIFI, false, false, true, false);
|
| }
|
| @@ -146,14 +145,12 @@ public class ChromeBackgroundServiceTest extends InstrumentationTestCase {
|
|
|
| @SmallTest
|
| @Feature({"NTPSnippets"})
|
| - @RetryOnFailure
|
| public void testNTPSnippetsRescheduleNoLaunchBrowserWhenInstanceExists() {
|
| startOnRunTaskAndVerify(SnippetsLauncher.TASK_TAG_RESCHEDULE, false, false, false, true);
|
| }
|
|
|
| @SmallTest
|
| @Feature({"NTPSnippets"})
|
| - @RetryOnFailure
|
| public void testNTPSnippetsFetchWifiChargingLaunchBrowserWhenInstanceDoesNotExist() {
|
| deleteSnippetsLauncherInstance();
|
| startOnRunTaskAndVerify(SnippetsLauncher.TASK_TAG_WIFI_CHARGING, true, false, true, false);
|
|
|