Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 1718475e authored by Remi NGUYEN VAN's avatar Remi NGUYEN VAN
Browse files

Add host-driven tests for the NetworkStack

Add a first test to verify that the NetworkStack can be installed and
rolled back.
The test will only pass on a device built with the same key
configuration as the test. It will not pass on production devices for
example.
The test also uses the NetworkStack in the tree, so it does not test
mismatches between the version of the NetworkStack and that of the
system.

On devices where adb root is available, the test performs the following:
 - Install the NetworkStack APK with --staged and --enable-rollback
 - Reboot the framework
 - Check that the network stack is registered
 - Request a rollback of the network stack
 - Reboot the framework
 - Check that the network stack is registered again

When adb root is not available, the test performs a reboot instead of a
framework restart. The test then takes 2m25s instead of 25s.

Test: atest NetworkStackHostTests
Bug: 133025642
Change-Id: Ief84d3718a8970606b2f69206d75b4147b5d2e76
parent 67be1d71
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment