Mark testLowerBiasJobPreempted test as flaky.
Bug: 293589359 Change-Id: I6f2288e91e59b3b2f4561243ec592e488021f08e Test: n/a
This commit is contained in:
@@ -24,6 +24,8 @@ import android.content.Context;
|
||||
import android.os.DeviceIdleManager;
|
||||
import android.test.AndroidTestCase;
|
||||
|
||||
import androidx.test.filters.FlakyTest;
|
||||
|
||||
import com.android.server.job.MockBiasJobService.TestEnvironment;
|
||||
import com.android.server.job.MockBiasJobService.TestEnvironment.Event;
|
||||
|
||||
@@ -58,6 +60,7 @@ public class BiasSchedulingTest extends AndroidTestCase {
|
||||
super.tearDown();
|
||||
}
|
||||
|
||||
@FlakyTest(bugId = 293589359)
|
||||
public void testLowerBiasJobPreempted() throws Exception {
|
||||
for (int i = 0; i < JobConcurrencyManager.MAX_CONCURRENCY_LIMIT; ++i) {
|
||||
JobInfo job = new JobInfo.Builder(100 + i, sJobServiceComponent)
|
||||
|
||||
Reference in New Issue
Block a user