Commit graph android_packages_modules_Co.../Cronet/tests/common/AndroidTest.xml
Message SHA1
Revert^2 "Revert "Revert "Revert "[Cronet] Disable one of setURLSt..."
This reverts commit 67df9f0870.

Reason for revert: broke native coverage b/333108088

Change-Id: Ice6cedcdeb35644eb0ee9edbac659feed21496ad

Chidera Olibie   authored and   Gerrit Code Review   commited 2024-04-09 15:00:27 +00:00
9957a8bb71
Revert "Revert "Revert "Revert "[Cronet] Disable one of setURLSt..."
Revert submission 3005178-revert-3001326-revert-2998737-revert-2980591-cronet_121_0_6167_71-JBOUFGJXPX-ICXECJPUPA-OOMALUYYUV

Reason for revert: aosp/3022283 fixed coverage issue

Reverted changes: /q/submissionid:3005178-revert-3001326-revert-2998737-revert-2980591-cronet_121_0_6167_71-JBOUFGJXPX-ICXECJPUPA-OOMALUYYUV

Change-Id: Ifb729927f64016383f75f8f4f0f3ae06a8fc2625

Chidera Olibie   commited 2024-04-02 12:07:04 +00:00
67df9f0870
Merge changes from topic "revert-3001326-revert-2998737-revert-2980591-cronet_121_0_6167_71-JBOUFGJXPX-ICXECJPUPA-OOMALUYYUV" into main
* changes:
  Revert "Revert "Revert "[Cronet] Disable one of setURLStreamHand..."
  Revert "Revert "Revert "cronet 121_0_6167_71: remove http_client..."

George Verhaegen   authored and   Gerrit Code Review   commited 2024-03-20 13:39:16 +00:00
4a18c1bc11
Revert "Revert "Revert "[Cronet] Disable one of setURLStreamHand..."
Revert submission 3001326-revert-2998737-revert-2980591-cronet_121_0_6167_71-JBOUFGJXPX-ICXECJPUPA

Reason for revert: Build breakage as b/330450460

Reverted changes: /q/submissionid:3001326-revert-2998737-revert-2980591-cronet_121_0_6167_71-JBOUFGJXPX-ICXECJPUPA

Change-Id: I9b835950cf92abb0d54cafc332cf310ceef5061a

Lisa (LeeWei) Liu   commited 2024-03-20 08:28:59 +00:00
e307e20d47
Merge changes from topic "revert-2998737-revert-2980591-cronet_121_0_6167_71-JBOUFGJXPX-ICXECJPUPA" into main
* changes:
  Revert "Revert "cronet 121_0_6167_71: remove http_client_logging..."
  Revert "Revert "[Cronet] Disable one of setURLStreamHandlerFacto..."

Chidera Olibie   authored and   Gerrit Code Review   commited 2024-03-20 04:19:06 +00:00
52dceb80bd
Revert "Revert "[Cronet] Disable one of setURLStreamHandlerFacto..."
Revert submission 2998737-revert-2980591-cronet_121_0_6167_71-JBOUFGJXPX

Reason for revert: aosp/3003361 fixed failing test. See b/329605950.

Reverted changes: /q/submissionid:2998737-revert-2980591-cronet_121_0_6167_71-JBOUFGJXPX

Bug: b/327182569
Test: atest NetHttpTests
Change-Id: Ic5bf27b44ef319c2921c000f801c49ea752b6c19

Chidera Olibie   commited 2024-03-18 13:46:14 +00:00
6ad32fb992
Switch Cronet MTS to Orchestrator
* Switching Cronet tests to the orchestrator means
that we will be able to run tests exactly like how they are
run in Chromium, as seen in this CL, this has allowed running
previously disabled tests.

* This change comes with an introduced latency which is not hugely
impactful (Measured to be around 400ms per test case) which takes
our runtime from ~6 minutes to ~10 minutes on average. This is an
acceptable impact for better coverage. If it increases beyond that
then we can utilize sharding but that is not required at the moment
or in the foreseeable future unless we have passed 1000 test case.

Test: atest NetHttpCoverageTest
Bug: 329823447
Change-Id: I1fff900341d958b8f00fc777e909b3583a83cc6a

Mohannad Farrag   commited 2024-03-15 14:25:09 +00:00
4fc2dbb970
Push test-data to device
* Push the test-data to the device in the expected destination, this is needed to get rid
of the divergance in TestFilesInstaller.
* Stop jarjaring tests Jni classes.

Test: TH
Bug: 304217500
Change-Id: I07fa7ed09f90bf286805479edc5238b6268d59f0

Mohannad Farrag   commited 2024-01-18 16:47:49 +00:00
38885e3d57
Add support for reading net/data/ssl/certificates files
* After supporting netty, the certificates files are needed to start up the HTTP server. Those files must be moved to the emulator which happens through the changes in AndroidTest.xml, isolated-storage
has been disabled to allow the emulator to access the storage freely without restriction. Otherwise
I will have to change the destination of the data files which will result in divergence.

* Added the newly introduced test utility java classes including netty to the `jarjar_excludes` as they must not be jarjared because they are not part of the bootclasspath.

Test: atest NetHttpTests
Bug: 319629150
Bug: 304217500
Change-Id: I2331873a9e178783319f889a377ba7e390ecdd6f

Mohannad Farrag   commited 2024-01-18 11:29:30 +00:00
2ba5c6243e
Disable failing tests for Cronet import v121.0.6103.2
some of the tests are completely new tests that have been added in the latest cronet import.
Fixing those tests on the fly while doing an import is going to be a lot of work, temporarily disable
those tests and created bugs to track them.

The rest of the tests were disabled through `@Ignore` annotation but that introduced divergence.

Bug: 314275954
Change-Id: I1ec2be189b5db4d08d410fa000a04c900f47113b

Mohannad Farrag   commited 2024-01-02 19:27:43 +00:00
a0544e0f61
Add NetHttpCoverageTests to mainline presubmit
Mainline presubmit runs on older images. So we need to set:
- min_sdk_version to the minimum sdk we support otherwise
it would default to current
- enforce_default_target_sdk_version since mainline needs
all modules to target the latest sdk

Test: presubmit
Bug: 263294440
Change-Id: I20757b13ab9ab45908dae088c6cb6b0bbc51989d

Chidera Olibie   commited 2023-03-06 08:20:56 +00:00
d66799a20c
Create a separate coverage target for Cronet tests
This will allow us add more java test targets without need to change
mts-tethering-coverage. Also in tune with the current Connectivity
setup.

Will consider merging to ConnectivityCoverageTests afterwards.

Bug: 263294440
Test: atest NetHttpCoverageTests
Change-Id: I4f65b30ccf548cc7f278488d73fe9e733a9c608d

Chidera Olibie   commited 2023-02-08 21:08:22 +00:00
e3e2e7fcaf