mirror of
https://github.com/valitydev/salt.git
synced 2024-11-06 16:45:27 +00:00
Workaround for beacons.list_available slowness.
This commit is contained in:
parent
b7a10581a2
commit
0b33498e0d
@ -35,6 +35,13 @@ class TestHandleEvents(MultimasterModuleCase, ShellTestCase, AdaptedConfiguratio
|
|||||||
('filter', 'INPUT', disconnect_master_rule),
|
('filter', 'INPUT', disconnect_master_rule),
|
||||||
master_tgt=1,
|
master_tgt=1,
|
||||||
)
|
)
|
||||||
|
# Workaround slow beacons.list_available response
|
||||||
|
if not res:
|
||||||
|
res = self.run_function(
|
||||||
|
'iptables.append',
|
||||||
|
('filter', 'INPUT', disconnect_master_rule),
|
||||||
|
master_tgt=1,
|
||||||
|
)
|
||||||
self.assertTrue(res)
|
self.assertTrue(res)
|
||||||
try:
|
try:
|
||||||
# Send an event. This would return okay.
|
# Send an event. This would return okay.
|
||||||
|
Loading…
Reference in New Issue
Block a user