UT: Reduce sleep time from 0.1 to 0.05 in test_agent_event_forwarder.py
This commit is contained in:
parent
5c1613bc79
commit
218363d40e
|
@ -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({})
|
||||
|
|
Loading…
Reference in New Issue