Commit fc3ad217 authored by Ian Wells's avatar Ian Wells Committed by Commit Bot

Enable some tests that had been disabled because of limitless mode

Bug: 803584
Change-Id: I189c280a19e9c6a591af6b6ee0e8a37e2abb020d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1490497
Auto-Submit: Ian Wells <iwells@chromium.org>
Commit-Queue: Carlos Knippschild <carlosk@chromium.org>
Reviewed-by: default avatarCarlos Knippschild <carlosk@chromium.org>
Cr-Commit-Position: refs/heads/master@{#637986}
parent 67859011
......@@ -18,7 +18,6 @@ import android.content.Context;
import android.os.Bundle;
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.mockito.ArgumentCaptor;
......@@ -154,9 +153,7 @@ public class PrefetchBackgroundTaskUnitTest {
/**
* Tests that the background task is scheduled when limitless prefetching is enabled:
* the waiting delay is shorter but the provided backoff time should be respected.
* TODO(https://crbug.com/803584): fix limitless mode or fully remove it.
*/
@Ignore
@Test
public void scheduleTaskLimitless() {
final int additionalDelaySeconds = 20;
......@@ -215,9 +212,7 @@ public class PrefetchBackgroundTaskUnitTest {
/**
* Tests that the background task is correctly started when conditions are sufficient for
* limitless prefetching.
* TODO(https://crbug.com/803584): fix limitless mode or fully remove it.
*/
@Ignore
@Test
public void createNativeTaskLimitless() {
final ArrayList<Boolean> reschedules = new ArrayList<>();
......@@ -310,9 +305,7 @@ public class PrefetchBackgroundTaskUnitTest {
/**
* Tests that the background task is not started (rescheduled) when there's no connection and
* limitless prefetching is enabled.
* TODO(https://crbug.com/803584): fix limitless mode or fully remove it.
*/
@Ignore
@Test
public void testNoNetworkLimitless() throws Exception {
// Setup no network conditions.
......
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