commit | eca707dda43b195403fc845a8ceed8a5c3c69206 | [log] [tgz] |
---|---|---|
author | Handa Wang <handaw@google.com> | Mon Jun 03 03:04:56 2024 +0000 |
committer | Handa Wang <handaw@google.com> | Mon Jun 03 03:04:56 2024 +0000 |
tree | e55ff66b38306ddce9be71e4c3d6d5332ecc912e | |
parent | 4171348894d06c694cd4e8ab0ad30c9fcbe23bf4 [diff] |
[Thread] enforce a timeout for waiting FTDs' output in integration tests When developing and debugging a test case, sometimes the FTD may stuck and will not give any output. In such a case the test may time out after 1 minute (or longer). We should enforce a timeout (e.g. 5 seconds) when reading from its stdout so we don't have to wait for it that long. Bug: 343885515 Test: CI Change-Id: I766c172364106f19500032459de12ed6de38fb05