Skip to content
Commit b2485fd6 authored by Tianjie's avatar Tianjie Committed by Tianjie Xu
Browse files

Add an error code for RoR failure due to no network

This gives us detailed information on whether server based RoR fails
due to no network after reboot. There might be a race condition
when the device gets network (check) after RoR fails in gmscore (use).
But the case should be rare, and it's acceptable for metrics purpose.

Also mock the methods to read timeouts. This helps avoids denail to read
device_config when running test on internal targets.

Bug: 179105110
Bug: 189353915
Test: trigger a server based ror, check error code
Change-Id: If600e8e06d7707da7160fec66d71bc9341327965
Merged-In: If600e8e06d7707da7160fec66d71bc9341327965
(cherry-picked from commit 7c473650)

Change-Id: I02893c5a5337685736236b2a5082d581c2419a9e
parent 5d9fa906
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment