[AWARE] Fix Latency/DataPathStress NDP OOB tests
The above tests would only work for every other NDP setup. The
issue is (most likely) connectivity manager keeping a request
around after it is terminated to see whether other factories
will resolve it. Solution is:
Long term: immediate failure b/31402907
Short term:
- Add delay between iterations (this CL)
- Change the network request, can only be done for passphrase/pmk
NDPs, not for open ones (which is this test)
Bug: 31940045
Test: tests passing
Change-Id: I95ffe87c19a4762cbc220ae6793afeaadbf59707
diff --git a/acts/tests/google/wifi/aware/performance/LatencyTest.py b/acts/tests/google/wifi/aware/performance/LatencyTest.py
index 900b4e5..20176c1 100644
--- a/acts/tests/google/wifi/aware/performance/LatencyTest.py
+++ b/acts/tests/google/wifi/aware/performance/LatencyTest.py
@@ -407,6 +407,9 @@
init_dut.droid.connectivityUnregisterNetworkCallback(init_req_key)
resp_dut.droid.connectivityUnregisterNetworkCallback(resp_req_key)
+ # wait before trying another iteration (need to let CM clean-up)
+ time.sleep(10)
+
autils.extract_stats(
init_dut,
data=on_available_latencies,