From be82d7d77a439eff597909f6ffd0485bf88d95e4 Mon Sep 17 00:00:00 2001 From: Sudheer Shanka Date: Tue, 5 Jan 2021 06:41:44 +0000 Subject: [PATCH] Add TEST_MAPPING to run CtsHostsideNetworkTests in presubmit. We already run these tests when platform code affecting these tests change. Now enabling these too to also run when these tests are being changed. Fixes: 154344933 Test: atest --test-mapping packages/modules/Connectivity/tests/cts/hostside Change-Id: Ie3ea67670ccd028815936d30189146c25ba87e28 --- tests/cts/hostside/TEST_MAPPING | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 tests/cts/hostside/TEST_MAPPING diff --git a/tests/cts/hostside/TEST_MAPPING b/tests/cts/hostside/TEST_MAPPING new file mode 100644 index 0000000000..02d2d6ec12 --- /dev/null +++ b/tests/cts/hostside/TEST_MAPPING @@ -0,0 +1,18 @@ +{ + "presubmit": [ + { + "name": "CtsHostsideNetworkTests", + "options": [ + { + "include-filter": "com.android.cts.net.HostsideRestrictBackgroundNetworkTests" + }, + { + "exclude-annotation": "androidx.test.filters.FlakyTest" + }, + { + "exclude-annotation": "android.platform.test.annotations.FlakyTest" + } + ] + } + ] +} \ No newline at end of file