diff --git a/monkey/tests/unit_tests/infection_monkey/test_agent_event_forwarder.py b/monkey/tests/unit_tests/infection_monkey/test_agent_event_forwarder.py index 5762c456f..ed73ec669 100644 --- a/monkey/tests/unit_tests/infection_monkey/test_agent_event_forwarder.py +++ b/monkey/tests/unit_tests/infection_monkey/test_agent_event_forwarder.py @@ -21,11 +21,11 @@ def test_send_events(event_sender): for _ in range(5): event_sender.add_event_to_queue({}) - time.sleep(0.1) + time.sleep(0.05) assert mock.call_count == 1 event_sender.add_event_to_queue({}) - time.sleep(0.1) + time.sleep(0.05) assert mock.call_count == 2 event_sender.stop() @@ -39,7 +39,7 @@ def test_send_remaining_events(event_sender): for _ in range(5): event_sender.add_event_to_queue({}) - time.sleep(0.1) + time.sleep(0.05) assert mock.call_count == 1 event_sender.add_event_to_queue({})