commit | cf43bbf559ef5125a1358c382d0c4c36e4bf8817 | [log] [tgz] |
---|---|---|
author | Wyatt Hepler <hepler@google.com> | Wed Aug 11 16:34:18 2021 -0700 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Aug 13 21:18:26 2021 +0000 |
tree | baa285ac90b75e9399770fb0cc8758bc84614e29 | |
parent | ee0b1e0779253d6b0e9c8515822f9b660b94e66a [diff] |
pw_unit_test: Improve integration test reliability - Improve logging when the test_run_start message is dropped. - Add retries with a shorter delay when connecting to a local socket. This makes the integration tests run slightly faster and more reliably. - Read from the socket in a thread. This prevents the occasional drops that caused rpc_service_test.py to fail. - Call communicate() instead of just wait() on the server subprocess since subprocess.PIPE is used. - Fix GN host_os check for Windows: "windows" -> "win". Change-Id: I34e62e6b4e1d525fc24d1310ca3f711bd19cbe08 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/56929 Commit-Queue: Wyatt Hepler <hepler@google.com> Pigweed-Auto-Submit: Wyatt Hepler <hepler@google.com> Reviewed-by: Rob Mohr <mohrr@google.com>
See our website: http://pigweed.dev