commit | 62b3efbaf9adf675368dd22527b75366dc9e6cee | [log] [tgz] |
---|---|---|
author | Remi NGUYEN VAN <reminv@google.com> | Thu Feb 01 14:46:22 2024 +0900 |
committer | Remi NGUYEN VAN <reminv@google.com> | Thu Feb 01 14:46:22 2024 +0900 |
tree | 93224a66e898e64681003c53524ca89b6f4c46d5 | |
parent | 96361bc4cdf3806848828aee564adbc83a2c4872 [diff] |
Do not crash on failures in callbacks Calling fail() in a callback not running in the test thread will crash the test process, instead of failing the test. This affects other tests as the whole process dies. Avoid that by adding errors to a list, which is verified in tearDown(). Test: atest Change-Id: I354352b61fb1909bcac519bf58d49b36e81c710f