summaryrefslogtreecommitdiffstats
path: root/server/IptablesRestoreControllerTest.cpp
diff options
context:
space:
mode:
authorEvgenii Stepanov <eugenis@google.com>2021-05-21 15:13:08 -0700
committerEvgenii Stepanov <eugenis@google.com>2021-05-21 15:38:16 -0700
commit3a388062110f2f1674a22a3b414af35efad49937 (patch)
treea8cacc1002bd1fad1c7e32a28d00676b8a021837 /server/IptablesRestoreControllerTest.cpp
parentd18e38a34f2e757b504e53d8fab68d766b2612a7 (diff)
downloadplatform_system_netd-3a388062110f2f1674a22a3b414af35efad49937.tar.gz
platform_system_netd-3a388062110f2f1674a22a3b414af35efad49937.tar.bz2
platform_system_netd-3a388062110f2f1674a22a3b414af35efad49937.zip
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
Diffstat (limited to 'server/IptablesRestoreControllerTest.cpp')
-rw-r--r--server/IptablesRestoreControllerTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/IptablesRestoreControllerTest.cpp b/server/IptablesRestoreControllerTest.cpp
index 08997849f..3881124ae 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 = {