diff options
author | Evgenii Stepanov <eugenis@google.com> | 2021-05-21 15:13:08 -0700 |
---|---|---|
committer | Maciej Zenczykowski <maze@google.com> | 2021-06-01 23:21:43 +0000 |
commit | f1dcbf8c36f425b4d8a3201aaf39defbe7978b9b (patch) | |
tree | a8cacc1002bd1fad1c7e32a28d00676b8a021837 | |
parent | 9e5d65cea19fed254a7a40a1d92f8bf150e4670b (diff) | |
download | netd-f1dcbf8c36f425b4d8a3201aaf39defbe7978b9b.tar.gz |
Increase TestCommandTimeout timeout.
This is a speculative fix for flaky failures on HWASan builds.
I can not reproduce the problem locally.
This slows down the test by ~400ms.
Bug: 181603044
Test: netd_unit_test IptablesRestoreControllerTest.TestCommandTimeout
Change-Id: I0a6494e3cdcd5689e68a54945a4b0acc3d0e5721
Merged-In: I0a6494e3cdcd5689e68a54945a4b0acc3d0e5721
(cherry picked from commit 3a388062110f2f1674a22a3b414af35efad49937)
-rw-r--r-- | server/IptablesRestoreControllerTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/IptablesRestoreControllerTest.cpp b/server/IptablesRestoreControllerTest.cpp index 08997849..3881124a 100644 --- a/server/IptablesRestoreControllerTest.cpp +++ b/server/IptablesRestoreControllerTest.cpp @@ -257,7 +257,7 @@ TEST_F(IptablesRestoreControllerTest, TestRestartOnProcessDeath) { TEST_F(IptablesRestoreControllerTest, TestCommandTimeout) { // Don't wait 10 seconds for this test to fail. - setRetryParameters(3, 50); + setRetryParameters(3, 100); // Expected contents of the chain. std::vector<std::string> expectedLines = { |