Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
Test case, After #startListeningForAdvertisements call wifiPeerAvailabilityChanged events should be emitted, fails randomly on Android #718
This test does not seem to do any native calls.
Logcat log below:
I looked at the sources of the test and this might be a race condition where the test fails if there is an SSDP alive message on an exact moment. A diff something like this might help:
Even with above change, the test would be meaningful since it would fail unless a peer unavailable message comes after the test server is stopped.