android_packages_modules_Co.../tests/net/java/com/android/server
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Junyu Lai 7d960da6ff Release keepalive slot after stopped
Currntly, keepalive slot is released when stop() is called. Next
starting keepalive can use the same slot number while previous
keepalive is still stopping. When the previous keepalive is
stopped, the incoming as will be processed by the new keepalive.

This change release keepalive slot after the result of stopping
has returned. Thus, newly created keepalive cannot allocate the
same slot number while lower layer is still processing stop event.

This change also disable flaky assertions that are caused by
test port has been occupied by other process.

Bug: 129512753
Test: 1. atest com.android.server.ConnectivityServiceTest \
         #testNattSocketKeepalives --generate-new-metrics 100
      2. atest FrameworksNetTests --generate-new-metrics 10
      3. simulate the fail case manually.

Change-Id: I790f6bbc5efc3f088034ac45ec379da5f781d0ca
Merged-In: I1991627545519ee5cb408a3df3a006f710f4af7b
(cherry picked from commit 4b0556df84)
2019-05-13 18:42:19 +08:00
..
connectivity Add CTS API coverage for APIs which are used by NetworkStack 2019-05-02 08:44:46 +00:00
net adopt non-blocking method to obtain the IpMemoryStore service. 2019-05-10 00:55:14 +00:00
ConnectivityServiceTest.java Release keepalive slot after stopped 2019-05-13 18:42:19 +08:00
IpSecServiceParameterizedTest.java Add IPsec checks for IPSEC_TUNNEL feature 2019-05-08 00:11:28 +00:00
IpSecServiceRefcountedResourceTest.java Fix remove-before-add for IpSecService RefcountedResource 2019-04-09 21:37:26 +00:00
IpSecServiceTest.java Fix flaky UdpEncapsulationSocket test 2019-04-09 06:44:32 +00:00
LegacyTypeTrackerTest.kt Fix an argument to the legacy broadcast 2019-04-23 02:36:32 +00:00
NetworkManagementServiceTest.java Cleanup NetworkManagementService for Netd commnads binder migrartion 2019-03-20 20:02:24 +08:00
NsdServiceTest.java Migrate frameworks/base/tests/net/ to androidx.test 2019-03-05 09:05:47 -08:00