-
Bug
-
Resolution: Done
-
Critical
-
None
-
None
-
None
-
None
-
5
-
False
-
-
False
-
-
This is creating flakiness in the tests.
Because the saveEvents endpoint is asynchronous, we need to update the tests to verify the events have been processed before performing subsequent actions that rely on them.
The method should be updated to use the fetchEvents operation (polling) to check the database after, since we can’t rely on a synchronous response. There should be a (small) timeout so that the polling doesn't hang indefinitely.
- blocks
-
SWATCH-3285 Fix test_hourly_tally_properly_updates_past_measurements[ansible-aap-managed]
-
- Closed
-
- relates to
-
SWATCH-2558 Save Event API needs to create a kafka message instead of direct db insert
-
- Closed
-
- mentioned on