commit | 0655d1b89a1a6da17b0f7727ca9b4d25736fc1c6 | [log] [tgz] |
---|---|---|
author | Paul Hu <paulhu@google.com> | Thu Sep 08 07:49:52 2022 +0000 |
committer | Paul Hu <paulhu@google.com> | Fri Sep 16 18:27:53 2022 +0800 |
tree | 84f5b53af86d230defd4ae1dab1db5067e678103 | |
parent | 7b26dddf2b38f76b21404177759d405ffcc27893 [diff] |
Fix test flake on IpConnectivityLogTest The test does not wait for sending all log events done, just check the total received event number after 200ms. If one of thread is running slowly, the test would be flaky. Thus, use the Thread#join() to ensure the log events sending out completely. Bug: 245005401 Test: atest CtsNetTestCases Change-Id: I90ad6960453c4639b6429a2e36e35d2d53148131