Use a CountDownLatch instead of sleep() in NetworkFactory tests.

This makes testNetworkFactoryRequests 2-3 times faster.

Bug: 22606153
Change-Id: I9657b6929e77f23ec811d0ab57b2ba974f0b6a69
1 file changed
tree: afb9740252b3a9411d88cd29ab82dc8083fad336
  1. core/
  2. services/
  3. tests/