diff options
author | Chiachang Wang <chiachangwang@google.com> | 2019-12-27 11:20:26 +0800 |
---|---|---|
committer | Chiachang Wang <chiachangwang@google.com> | 2019-12-27 03:43:48 +0000 |
commit | 5877916a3e54a6486ac4925ff9001c43a1538bbf (patch) | |
tree | 6c38c9da101480ef81565bccf682c5240fe52425 /src/android/net/dhcp/DhcpClient.java | |
parent | 7b60bfa137ad7ec9213ec4c2169cea4f303e2ce0 (diff) |
Prevent wtf crash test app
TcpSocketTrackerTest will need to verify some unexpected cases
work as intended or not. In these cases, module may log wtf log.
However, AM will crash application if wtf log is found in eng
build. Test will fail due to test app crashed. Thus, set the
wtf handler in test to Log.e to prevent it.
Bug: 146909385
Test: atest NetworkStackTests:\
com.android.networkstack.netlink.TcpSocketTrackerTest#testPollSocketsInfo_BadFormat
in eng build
Test: atest NetworkStackNextTests:\
com.android.networkstack.netlink.TcpSocketTrackerTest#testPollSocketsInfo_BadFormat
in eng build
Change-Id: I12f4125496f58fc8a47b124b4a47de6c2d0a386b
Diffstat (limited to 'src/android/net/dhcp/DhcpClient.java')
0 files changed, 0 insertions, 0 deletions