Details
-
Sub-task
-
Resolution: Fixed
-
L3 - Default
-
None
-
None
Description
We should have integration tests that use the Engine MockServer to verify behaviour when engine requests fail in the context of entity importing.
ATs:
- We should have a test that the status rest API behaves as expected when the engine is down.
- We need tests to ensure that Optimize can handle failed requests to the engine when fetching entities to import
If you have any questions about setting expectations and verifying requests with MockServer, ping joshua.windels. The documentation is also pretty good https://www.mock-server.com/mock_server/creating_expectations.html and https://www.mock-server.com/mock_server/verification.html