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

Skip to content
Commit 18006eb0 authored by Xiao Ma's avatar Xiao Ma
Browse files

Cleanup testOverrideVendorId static member after running unittest.

"testOverrideVendorId" variable is just used in the DhcpPacket unit
test, we set it to "android-dhcp-???" to check whether the vendor id
sent in the packet is expected. However, in the code coverage test,
since it's static member, its value might affect the following test cases
which are checking "mVendorId" member(e.g. IpClientIntegrationTest),
depends on the execute order of test case. Hence, reset the
"testOverrideVendorId" variable after running unit test.

Bug: 169128961
Test: atest NetworkStackTests
Change-Id: If2a974cb7a9c1cbba57d49beef29736862b99232
parent 3c141ccc
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