Add ConnectivityCoverageTests to postsubmit

Add the tests to both postsubmit and mainline-postsubmit.

This should allow moving the tests to presubmit in the near future,
after they have been verified to pass in postsubmit.

Bug: 187935317
Test: treehugger needs to test
Original-Change: https://android-review.googlesource.com/1736506
Merged-In: I9a05d6a300c5f777497e867d0456bc59b06eee80
Change-Id: I9a05d6a300c5f777497e867d0456bc59b06eee80
This commit is contained in:
Remi NGUYEN VAN
2021-06-24 06:44:48 +00:00
parent 168b3d19f1
commit 1c45a8a623
2 changed files with 11 additions and 0 deletions

View File

@@ -19,6 +19,11 @@
"name": "TetheringIntegrationTests" "name": "TetheringIntegrationTests"
} }
], ],
"postsubmit": [
{
"name": "ConnectivityCoverageTests"
}
],
"mainline-presubmit": [ "mainline-presubmit": [
{ {
// TODO: add back the tethering modules when updatable in this branch // TODO: add back the tethering modules when updatable in this branch
@@ -38,6 +43,9 @@
}, },
{ {
"name": "TetheringCoverageTests[CaptivePortalLoginGoogle.apk+NetworkStackGoogle.apk+com.google.android.resolv.apex+com.google.android.tethering.apex]" "name": "TetheringCoverageTests[CaptivePortalLoginGoogle.apk+NetworkStackGoogle.apk+com.google.android.resolv.apex+com.google.android.tethering.apex]"
},
{
"name": "ConnectivityCoverageTests[CaptivePortalLoginGoogle.apk+NetworkStackGoogle.apk+com.google.android.resolv.apex+com.google.android.tethering.apex]"
} }
], ],
"imports": [ "imports": [

View File

@@ -50,6 +50,9 @@ android_test {
// TODO: change to 31 as soon as it is available // TODO: change to 31 as soon as it is available
target_sdk_version: "30", target_sdk_version: "30",
test_suites: ["device-tests", "mts"], test_suites: ["device-tests", "mts"],
test_mainline_modules: [
"CaptivePortalLoginGoogle.apk+NetworkStackGoogle.apk+com.google.android.resolv.apex+com.google.android.tethering.apex",
],
defaults: [ defaults: [
"framework-connectivity-test-defaults", "framework-connectivity-test-defaults",
"FrameworksNetTests-jni-defaults", "FrameworksNetTests-jni-defaults",