microsoft / agogosml

agogosml is a flexible data processing pipeline that addresses the common need for operationalizing ML models at scale
MIT License
33 stars 16 forks source link

Integration tests #192

Closed itye-msft closed 5 years ago

itye-msft commented 5 years ago

After writing multiple integration tests which involved communication with event hub, I ended up removing them and sticking to integration in an isolated environment. The full e-2-e test with connectivity to event hub will be added in a separated PR

itye-msft commented 5 years ago

@fnocera I have added the missing annotations for integration tests. I have also clarified in a comment why mock_incoming_message_event works, mainly because it starts the input reader pipeline (not to be confused with the output writer). The mocked messaged travels in the pipeline and we pick it up at the output writer. This is why self.last_message is set correctly at line 16 of the client_mock.py file.