perf(tests): reduce event logger sleep from 25ms to 10ms
Reduce Process.sleep delays in event_logger_test from 25ms to 10ms. These sleeps wait for async event logging to complete. All tests still pass with shorter delay.
This commit is contained in:
parent
a083c7069c
commit
acf7e5548b
1 changed files with 2 additions and 2 deletions
|
|
@ -129,7 +129,7 @@ defmodule Towerops.Devices.EventLoggerTest do
|
|||
{:device_event, invalid_event}
|
||||
)
|
||||
|
||||
Process.sleep(25)
|
||||
Process.sleep(10)
|
||||
end)
|
||||
|
||||
# Verify error was logged
|
||||
|
|
@ -145,7 +145,7 @@ defmodule Towerops.Devices.EventLoggerTest do
|
|||
)
|
||||
|
||||
# Should not crash - just log and move on
|
||||
Process.sleep(25)
|
||||
Process.sleep(10)
|
||||
|
||||
# EventLogger should still be running
|
||||
assert Process.whereis(EventLogger)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue