Details
-
Improvement
-
Status: Accepted
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
We need an ability to insert events in a response stream. Currently, there is no way to spoof events on a response stream in the HTTP API for testing. Let's take an example:
A framework registers with the master and the master opens a persistent stream for sending events to the framework. It is presently impossible to insert events on this stream e.g., spoof a Event::ERROR from the master .
Previously, for old driver based frameworks using libprocess message passing we were able to invoke process::send to send such messages. This is also needed for spoofing events from agent->executor. In the future the internal master<->agent communication might also need this when we move it to the HTTP API.
Attachments
Issue Links
- relates to
-
MESOS-4425 Introduce filtering test abstractions for HTTP events to libprocess
- Resolved