You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the moment testing code uses timeouts. If we have a way to receive events from all services we can simply wait for event to be received instead of waiting.
For example instead of sleep(Duration::from_secs(1)) in start_service (ethexe/service/src/tests.rs#L1648) we can simply wait for Event::Started to be produced.
How to achieve
Collect all possible events from all services into single enum
Introduce an output channel for producing events into it.
The text was updated successfully, but these errors were encountered:
File Location(s)
No response
Proposal
At the moment testing code uses timeouts. If we have a way to receive events from all services we can simply wait for event to be received instead of waiting.
For example instead of
sleep(Duration::from_secs(1))
instart_service
(ethexe/service/src/tests.rs#L1648) we can simply wait forEvent::Started
to be produced.How to achieve
The text was updated successfully, but these errors were encountered: