aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPrimiano Tucci <primiano@google.com>2023-10-05 13:53:11 +0100
committerPrimiano Tucci <primiano@google.com>2023-10-06 12:10:35 +0000
commit0e56a83fd054dca43fb38e8af6205244dea56967 (patch)
tree595608bbd1f32ee6c203848e73265af4c9eb660e
parentdc9f844cf91bc7dd3db8b67440bcf968e88e4c4d (diff)
downloadperfetto-0e56a83fd054dca43fb38e8af6205244dea56967.tar.gz
RESTRICT AUTOMERGE: Disable TriggerCloneSnapshot test on Uandroid-vts-14.0_r3android-vts-14.0_r2android-cts-14.0_r3android-cts-14.0_r2
The proto field id for clone snapshot has been changed in U QPR1 to deal with bugs in the feature (fixed only in QPR). The test, however, is part of CTS which needs to work on all U releases. This CL disables the test on the android14-tests-dev branch and keeps it in main. Bug: 302438506 Bug: 296227911 Change-Id: Iee267f52cf3b9e5da678592fc8f01521e8f7d7b0
-rw-r--r--test/cmdline_integrationtest.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/cmdline_integrationtest.cc b/test/cmdline_integrationtest.cc
index f8c7a43e6..53cc9e6e6 100644
--- a/test/cmdline_integrationtest.cc
+++ b/test/cmdline_integrationtest.cc
@@ -852,7 +852,10 @@ TEST_F(PerfettoCmdlineTest, AndroidOnly(CmdTriggerWithUploadFlag)) {
Eq("trigger_name")))));
}
-TEST_F(PerfettoCmdlineTest, TriggerCloneSnapshot) {
+// This test has been disabled in Android U for CTS tests, because of the
+// (deliberate) breaking change made in aosp/2723034. The proto field ID is also
+// used by the CTS test, which, by design, needs to work on all U releases.
+TEST_F(PerfettoCmdlineTest, DISABLED_TriggerCloneSnapshot) {
constexpr size_t kMessageCount = 2;
constexpr size_t kMessageSize = 2;
protos::gen::TraceConfig trace_config;