From 432162d5dec25688b99a9beb66b6a1d9d9fabe04 Mon Sep 17 00:00:00 2001 From: Xiao Ma Date: Fri, 29 Sep 2023 15:28:49 +0900 Subject: [PATCH] Add NetworkStackModuleTest exclusion for ConnectivityCoverageTests in TEST_MAPPING. testTetherZeroLengthDhcpPacket requires to install both Tethering and NetworkStack modules, add NetworkStackModuleTest annotation for ConnectivityCoverageTests running as presubmit to exclude the testTetherZeroLengthDhcpPacket from presubmit. Bug: 287798985 Test: TH Change-Id: I2e21e2623b181e678189ca7758210be1b5409ae7 --- TEST_MAPPING | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/TEST_MAPPING b/TEST_MAPPING index d33453c264..fafd3bbba3 100644 --- a/TEST_MAPPING +++ b/TEST_MAPPING @@ -1,7 +1,12 @@ { "presubmit": [ { - "name": "ConnectivityCoverageTests" + "name": "ConnectivityCoverageTests", + "options": [ + { + "exclude-annotation": "com.android.testutils.NetworkStackModuleTest" + } + ] }, { // In addition to ConnectivityCoverageTests, runs non-connectivity-module tests