UT: Reduce sleep time from 0.05 to 0.01 in test_agent_event_forwarder

This commit is contained in:
Mike Salvatore 2022-09-14 12:07:36 -04:00
parent 218363d40e
commit 9471db378f
1 changed files with 3 additions and 3 deletions

View File

@ -21,11 +21,11 @@ def test_send_events(event_sender):
for _ in range(5):
event_sender.add_event_to_queue({})
time.sleep(0.05)
time.sleep(0.01)
assert mock.call_count == 1
event_sender.add_event_to_queue({})
time.sleep(0.05)
time.sleep(0.01)
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.05)
time.sleep(0.01)
assert mock.call_count == 1
event_sender.add_event_to_queue({})