diff options
author | Zeyad El-arabaty <zelarabaty@google.com> | 2024-03-14 15:06:23 +0000 |
---|---|---|
committer | Miguel Aranda <miguelaranda@google.com> | 2024-03-14 15:15:03 +0000 |
commit | 13a5e6fdd8f71f3ad479d6b02fb4833d2f766050 (patch) | |
tree | c928584af55a2d352f61a5331d346e275174800a | |
parent | e461271f21bf3f9b9229c17b3b48c6129b57cd34 (diff) | |
download | AdServices-13a5e6fdd8f71f3ad479d6b02fb4833d2f766050.tar.gz |
Ignore fetchAndJoinCustomAudience API CTS tests
These tests depend on the service's HTTP call to timeout which then will
be bubbled up as an execution error. Since the service's HTTP call does
not time out consistently, the test's call fails with an timeout
exception. This change is, for the short term, disabling the flaky tests
entirely to unblock M-train boarding.
Test: atest CtsAdServicesDeviceTestCases:android.adservices.cts.CustomAudienceApiCtsTest
Bug: 327859633
Bug: 312085877
Bug: 319330548
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:ba490973213d9c32b56bc4d04ca73474c9a15aaa)
Merged-In: I9f3e3d2ca034150fb74c3a6aa308d073a886d00e
Change-Id: I9f3e3d2ca034150fb74c3a6aa308d073a886d00e
NOTE FOR REVIEWERS - errors occurred while applying the patch.
PLEASE REVIEW CAREFULLY.
Errors:
Error applying patch in adservices/tests/cts/src/android/adservices/cts/CustomAudienceApiCtsTest.java, hunk HunkHeader[58,7->58,6]: Hunk cannot be applied
Original patch:
From ba490973213d9c32b56bc4d04ca73474c9a15aaa Mon Sep 17 00:00:00 2001
From: Zeyad El-arabaty <zelarabaty@google.com>
Date: Tue, 05 Mar 2024 16:06:44 -0800
Subject: [PATCH] Ignore fetchAndJoinCustomAudience API CTS tests
These tests depend on the service's HTTP call to timeout which then will
be bubbled up as an execution error. Since the service's HTTP call does
not time out consistently, the test's call fails with an timeout
exception. This change is, for the short term, disabling the flaky tests
entirely to unblock M-train boarding.
Test: atest CtsAdServicesDeviceTestCases:android.adservices.cts.CustomAudienceApiCtsTest
Bug: 327859633
Bug: 312085877
Bug: 319330548
Change-Id: I9f3e3d2ca034150fb74c3a6aa308d073a886d00e
---
-rw-r--r-- | adservices/tests/cts/src/android/adservices/cts/CustomAudienceApiCtsTest.java | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/adservices/tests/cts/src/android/adservices/cts/CustomAudienceApiCtsTest.java b/adservices/tests/cts/src/android/adservices/cts/CustomAudienceApiCtsTest.java index e458b0d50..fc1084b74 100644 --- a/adservices/tests/cts/src/android/adservices/cts/CustomAudienceApiCtsTest.java +++ b/adservices/tests/cts/src/android/adservices/cts/CustomAudienceApiCtsTest.java @@ -70,6 +70,7 @@ import com.google.common.util.concurrent.MoreExecutors; import org.junit.After; import org.junit.Assume; import org.junit.Before; +import org.junit.Ignore; import org.junit.Rule; import org.junit.Test; @@ -395,6 +396,7 @@ public class CustomAudienceApiCtsTest extends ForegroundCtsTest { } @Test + @Ignore("b/319330548") public void testFetchAndJoinCustomAudience_validFetchUri_validRequest() { try { PhFlagsFixture.overrideFledgeFetchCustomAudienceEnabled(true); @@ -418,12 +420,14 @@ public class CustomAudienceApiCtsTest extends ForegroundCtsTest { } @Test + @Ignore("b/319330548") public void testFetchAndJoinCustomAudience_validFetchUri_validRequest_getMethod() { createClientUsingGetMethod(); testFetchAndJoinCustomAudience_validFetchUri_validRequest(); } @Test + @Ignore("b/319330548") public void testFetchAndJoinCustomAudience_unenrolledFetchUri_invalidRequest() { try { PhFlagsFixture.overrideFledgeFetchCustomAudienceEnabled(true); @@ -453,12 +457,14 @@ public class CustomAudienceApiCtsTest extends ForegroundCtsTest { } @Test + @Ignore("b/319330548") public void testFetchAndJoinCustomAudience_unenrolledFetchUri_invalidRequest_getMethod() { createClientUsingGetMethod(); testFetchAndJoinCustomAudience_unenrolledFetchUri_invalidRequest(); } @Test + @Ignore("b/319330548") public void testFetchAndJoinCustomAudience_validName_validRequest() { try { PhFlagsFixture.overrideFledgeFetchCustomAudienceEnabled(true); @@ -484,12 +490,14 @@ public class CustomAudienceApiCtsTest extends ForegroundCtsTest { } @Test + @Ignore("b/319330548") public void testFetchAndJoinCustomAudience_validName_validRequest_getMethod() { createClientUsingGetMethod(); testFetchAndJoinCustomAudience_validName_validRequest(); } @Test + @Ignore("b/319330548") public void testFetchAndJoinCustomAudience_tooLongName_invalidRequest() { try { PhFlagsFixture.overrideFledgeFetchCustomAudienceEnabled(true); @@ -519,12 +527,14 @@ public class CustomAudienceApiCtsTest extends ForegroundCtsTest { } @Test + @Ignore("b/319330548") public void testFetchAndJoinCustomAudience_tooLongName_invalidRequest_getMethod() { createClientUsingGetMethod(); testFetchAndJoinCustomAudience_tooLongName_invalidRequest(); } @Test + @Ignore("b/319330548") public void testFetchAndJoinCustomAudience_validActivationTime_validRequest() { try { PhFlagsFixture.overrideFledgeFetchCustomAudienceEnabled(true); @@ -549,12 +559,14 @@ public class CustomAudienceApiCtsTest extends ForegroundCtsTest { } @Test + @Ignore("b/319330548") public void testFetchAndJoinCustomAudience_validActivationTime_validRequest_getMethod() { createClientUsingGetMethod(); testFetchAndJoinCustomAudience_validActivationTime_validRequest(); } @Test + @Ignore("b/319330548") public void testFetchAndJoinCustomAudience_activationExceedsDelay_invalidRequest() { try { PhFlagsFixture.overrideFledgeFetchCustomAudienceEnabled(true); @@ -580,12 +592,14 @@ public class CustomAudienceApiCtsTest extends ForegroundCtsTest { } @Test + @Ignore("b/319330548") public void testFetchAndJoinCustomAudience_activationExceedsDelay_invalidRequest_getMethod() { createClientUsingGetMethod(); testFetchAndJoinCustomAudience_activationExceedsDelay_invalidRequest(); } @Test + @Ignore("b/319330548") public void testFetchAndJoinCustomAudience_validExpirationTime_validRequest() { try { PhFlagsFixture.overrideFledgeFetchCustomAudienceEnabled(true); @@ -610,12 +624,14 @@ public class CustomAudienceApiCtsTest extends ForegroundCtsTest { } @Test + @Ignore("b/319330548") public void testFetchAndJoinCustomAudience_validExpirationTime_validRequest_getMethod() { createClientUsingGetMethod(); testFetchAndJoinCustomAudience_validExpirationTime_validRequest(); } @Test + @Ignore("b/319330548") public void testFetchAndJoinCustomAudience_beyondMaxExpiration_invalidRequest() { try { PhFlagsFixture.overrideFledgeFetchCustomAudienceEnabled(true); @@ -642,12 +658,14 @@ public class CustomAudienceApiCtsTest extends ForegroundCtsTest { } @Test + @Ignore("b/319330548") public void testFetchAndJoinCustomAudience_beyondMaxExpiration_invalidRequest_getMethod() { createClientUsingGetMethod(); testFetchAndJoinCustomAudience_beyondMaxExpiration_invalidRequest(); } @Test + @Ignore("b/319330548") public void testFetchAndJoinCustomAudience_validUserBiddingSignals_validRequest() { try { PhFlagsFixture.overrideFledgeFetchCustomAudienceEnabled(true); @@ -672,12 +690,14 @@ public class CustomAudienceApiCtsTest extends ForegroundCtsTest { } @Test + @Ignore("b/319330548") public void testFetchAndJoinCustomAudience_validUserBiddingSignals_validRequest_getMethod() { createClientUsingGetMethod(); testFetchAndJoinCustomAudience_validUserBiddingSignals_validRequest(); } @Test + @Ignore("b/319330548") public void testFetchAndJoinCustomAudience_tooBigUserBiddingSignals_invalidRequest() { try { PhFlagsFixture.overrideFledgeFetchCustomAudienceEnabled(true); @@ -705,6 +725,7 @@ public class CustomAudienceApiCtsTest extends ForegroundCtsTest { } @Test + @Ignore("b/319330548") public void testFetchAndJoinCustomAudience_tooBigUserBiddingSignals_invalidRequest_getMethod() { createClientUsingGetMethod(); testFetchAndJoinCustomAudience_tooBigUserBiddingSignals_invalidRequest(); |