summaryrefslogtreecommitdiffstats
path: root/test/units/modules/test_iptables.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/units/modules/test_iptables.py')
-rw-r--r--test/units/modules/test_iptables.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/units/modules/test_iptables.py b/test/units/modules/test_iptables.py
index 2b93b4b62d..87bf3dfc33 100644
--- a/test/units/modules/test_iptables.py
+++ b/test/units/modules/test_iptables.py
@@ -1196,6 +1196,7 @@ def test_chain_creation(mocker):
"chain": "FOOBAR",
"state": "present",
"chain_management": True,
+ "wait": 10,
}
)
@@ -1224,6 +1225,8 @@ def test_chain_creation(mocker):
"filter",
"-L",
"FOOBAR",
+ "-w",
+ "10",
]
second_cmd_args_list = run_command.call_args_list[1]
@@ -1233,6 +1236,8 @@ def test_chain_creation(mocker):
"filter",
"-N",
"FOOBAR",
+ "-w",
+ "10",
]
commands_results = [
@@ -1257,6 +1262,7 @@ def test_chain_creation_check_mode(mocker):
"chain": "FOOBAR",
"state": "present",
"chain_management": True,
+ "wait": 10,
"_ansible_check_mode": True,
}
)
@@ -1285,6 +1291,8 @@ def test_chain_creation_check_mode(mocker):
"filter",
"-L",
"FOOBAR",
+ "-w",
+ "10",
]
commands_results = [