commit | a786986f366ccea8428cda9d07b5aaab73cde472 | [log] [tgz] |
---|---|---|
author | Chiachang Wang <chiachangwang@google.com> | Tue Aug 22 08:18:38 2023 +0000 |
committer | Chiachang Wang <chiachangwang@google.com> | Tue Aug 22 08:18:38 2023 +0000 |
tree | c6b1bce15d5df11991e6e4d5b1f04a821e1fadfa | |
parent | 3b406ab42654dcb39d7d071279c3872010a805c0 [diff] |
Explicitly set the HttpURLConnection methods to deflake tests Explicitly set the HttpURLConnection methods so that these will not interact with real methods to prevent threading issue in the test. Fix: 296168371 Test: atest NetworkMonitorTest --iteractions 50 on cuttlefish Change-Id: Id6e0a9f973d65fe1c211ce07743ff62e3816854c