diff --git a/TEST_MAPPING b/TEST_MAPPING index 6e30fd12a0..700a085904 100644 --- a/TEST_MAPPING +++ b/TEST_MAPPING @@ -135,6 +135,37 @@ } ] }, + // Test with APK modules only, in cases where APEX is not supported, or the other modules + // were simply not updated + { + "name": "CtsNetTestCasesLatestSdk[CaptivePortalLoginGoogle.apk+NetworkStackGoogle.apk]", + "options": [ + { + "exclude-annotation": "com.android.testutils.SkipPresubmit" + }, + { + "exclude-annotation": "androidx.test.filters.RequiresDevice" + }, + { + "exclude-annotation": "com.android.testutils.ConnectivityModuleTest" + } + ] + }, + // Test with connectivity/tethering module only, to catch integration issues with older versions + // of other modules. "new tethering + old NetworkStack" is not a configuration that should + // really exist in the field, but there is no strong guarantee, and it is required by MTS + // testing for module qualification, where modules are tested independently. + { + "name": "CtsNetTestCasesLatestSdk[com.google.android.tethering.apex]", + "options": [ + { + "exclude-annotation": "com.android.testutils.SkipPresubmit" + }, + { + "exclude-annotation": "androidx.test.filters.RequiresDevice" + } + ] + }, { "name": "bpf_existence_test[CaptivePortalLoginGoogle.apk+NetworkStackGoogle.apk+com.google.android.resolv.apex+com.google.android.tethering.apex]" }, @@ -159,38 +190,6 @@ { "name": "CtsNetTestCasesLatestSdk[CaptivePortalLoginGoogle.apk+NetworkStackGoogle.apk+com.google.android.resolv.apex+com.google.android.tethering.apex]", "keywords": ["sim"] - }, - // TODO: move to mainline-presubmit when known green. - // Test with APK modules only, in cases where APEX is not supported, or the other modules were simply not updated - { - "name": "CtsNetTestCasesLatestSdk[CaptivePortalLoginGoogle.apk+NetworkStackGoogle.apk]", - "options": [ - { - "exclude-annotation": "com.android.testutils.SkipPresubmit" - }, - { - "exclude-annotation": "androidx.test.filters.RequiresDevice" - }, - { - "exclude-annotation": "com.android.testutils.ConnectivityModuleTest" - } - ] - }, - // TODO: move to mainline-presubmit when known green. - // Test with connectivity/tethering module only, to catch integration issues with older versions of other modules. - // "new tethering + old NetworkStack" is not a configuration that should really exist in the field, but - // there is no strong guarantee, and it is required by MTS testing for module qualification, where modules - // are tested independently. - { - "name": "CtsNetTestCasesLatestSdk[com.google.android.tethering.apex]", - "options": [ - { - "exclude-annotation": "com.android.testutils.SkipPresubmit" - }, - { - "exclude-annotation": "androidx.test.filters.RequiresDevice" - } - ] } ], "imports": [