Update connectivity TEST_MAPPING
- Move Tethering TEST_MAPPING up one level to merge with the general Connectivity TEST_MAPPING. This allows running the tethering tests on any connectivity change. - Move TetheringIntegrationTests from postsubmit to presubmit - Add TetheringCoverageTests to mainline-postsubmit, so it can be added to mainline-presubmit later. - Import NetworkStack tests so that they are run on any connectivity change. TetheringIntegrationTests were continuously green in postsubmit. Bug: 187946226 Original-Change: https://android-review.googlesource.com/1713468 Merged-In: Ibf05ad64b02c563930ba0f01eb91331b295fe505 Change-Id: Ibf05ad64b02c563930ba0f01eb91331b295fe505 Test: Treehugger needed to test TEST_MAPPING files
This commit is contained in:
committed by
Remi NGUYEN VAN
parent
bf9cb4dd18
commit
0e2dbf3106
16
TEST_MAPPING
16
TEST_MAPPING
@@ -11,6 +11,12 @@
|
||||
"exclude-annotation": "com.android.testutils.SkipPresubmit"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "TetheringTests"
|
||||
},
|
||||
{
|
||||
"name": "TetheringIntegrationTests"
|
||||
}
|
||||
],
|
||||
"mainline-presubmit": [
|
||||
@@ -24,11 +30,19 @@
|
||||
]
|
||||
}
|
||||
],
|
||||
// Tests on physical devices with SIM cards: postsubmit only for capacity constraints
|
||||
"mainline-postsubmit": [
|
||||
// Tests on physical devices with SIM cards: postsubmit only for capacity constraints
|
||||
{
|
||||
"name": "CtsNetTestCasesLatestSdk[CaptivePortalLoginGoogle.apk+NetworkStackGoogle.apk+com.google.android.resolv.apex+com.google.android.tethering.apex]",
|
||||
"keywords": ["sim"]
|
||||
},
|
||||
{
|
||||
"name": "TetheringCoverageTests[CaptivePortalLoginGoogle.apk+NetworkStackGoogle.apk+com.google.android.resolv.apex+com.google.android.tethering.apex]"
|
||||
}
|
||||
],
|
||||
"imports": [
|
||||
{
|
||||
"path": "packages/modules/NetworkStack"
|
||||
}
|
||||
],
|
||||
"imports": [
|
||||
|
||||
@@ -1,12 +0,0 @@
|
||||
{
|
||||
"presubmit": [
|
||||
{
|
||||
"name": "TetheringTests"
|
||||
}
|
||||
],
|
||||
"postsubmit": [
|
||||
{
|
||||
"name": "TetheringIntegrationTests"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user