Attempt to deflake process_test.process_state

process_test.process_state sleeps 100ms and expects a child process
state to change.  CI reports a 0.33% flake rate, probably due to
running the test on a heavily loaded system that doesn't allow the
child process to run within 100ms.  Modify the test to check the
child process state every 100ms for 5s.

Test: atest --host libprocinfo_test
Fixes: 277879284
Change-Id: I31f26c4f8d0bf0e2df10e1a9754046055b6aec46
1 file changed
tree: a915038382b11e3ae3cd4ae87873700d7ce72dd0
  1. include/
  2. testdata/
  3. Android.bp
  4. OWNERS
  5. process.cpp
  6. process_map_benchmark.cpp
  7. process_map_test.cpp
  8. process_test.cpp
  9. TEST_MAPPING