eiffel-community/eiffel-intelligence

Investigate if it is possible to verify if Eiffel messages has been sent in test.

Opened this issue · 0 comments

Description

Currently in flow tests and some other tests and integration tests the test will loop though a number of Eiffel events and throw them on RabbitMQ. This sometimes cause events to be lost since either RabbitMQ or Eiffel Intelligence cannot handle the load. This makes test fail.

This issue is about investigating if it is possible to get acknowledgement from RabbitMQ that an event has successfully been sent to the message buss, and then recieved and and processed by Eiffel Intelligence.

If implementation is simple do the implementation, but if the implementation is complex, create a new issue.

We have currently implementet a simple delay in Eiffel Intelligence Artifact flow integration test as a work around for this issue.

Motivation

Improve stability in tests.

Exemplification

Send an event, verify that event has been recieved my RabbitMQ, send next event. Ensure all tests passes in Linux, Windows and Travis. Rerun test at least 10 times.