Don't fail the test if the iptables lock is held.
(cherry picked from commit 98ba4566752d640d97205389781705f7aaea1c63)
Change-Id: I76e303a2dca8fc7500df53181ffe715b2a4398e8
diff --git a/tests/binder_test.cpp b/tests/binder_test.cpp
index 565db99..42d01a5 100644
--- a/tests/binder_test.cpp
+++ b/tests/binder_test.cpp
@@ -117,7 +117,7 @@
}
static std::vector<std::string> listIptablesRule(const char *binary, const char *chainName) {
- std::string command = StringPrintf("%s -n -L %s", binary, chainName);
+ std::string command = StringPrintf("%s -w -n -L %s", binary, chainName);
return runCommand(command);
}