[ https://issues.apache.org/jira/browse/MESOS-9843?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16936734#comment-16936734 ]
Andrei Budnik commented on MESOS-9843: -------------------------------------- {code:java} commit dee4b849c8179ea46947c8ea4dd031f6eb37b659 Author: Andrei Budnik abud...@apache.org Date: Fri Sep 6 17:01:56 2019 +0200 Added `futureTracker` to the `SlaveOptions` in tests. `PendingFutureTracker` is shared across both Mesos containerizer and the agent, so we need to add an option to be able to start a slave in tests with an instance of the `futureTrack` as a parameter. Review: https://reviews.apache.org/r/71454 {code} {code:java} commit 1122674a5c03894e4552d46cfa26dca0557a8f68 Author: Andrei Budnik <abud...@apache.org> Date: Fri Sep 6 13:25:35 2019 +0200 Implemented an integration test for /containerizer/debug endpoint. This test starts an agent with the MockIsolator to intercept calls to its `prepare` method, then it launches a task, which gets stuck. We check that the /containerizer/debug endpoint returns a non-empty list of pending futures including `MockIsolator::prepare`. After setting the promise for the `prepare`, the task successfully starts and we expect for the /containerizer/debug endpoint to return an empty list of pending operations. Review: https://reviews.apache.org/r/71455 {code} > Implement tests for the `containerizer/debug` endpoint. > ------------------------------------------------------- > > Key: MESOS-9843 > URL: https://issues.apache.org/jira/browse/MESOS-9843 > Project: Mesos > Issue Type: Task > Components: containerization > Reporter: Andrei Budnik > Assignee: Andrei Budnik > Priority: Major > Labels: containerization > > Implement tests for container stuck issues and check that the agent's > `containerizer/debug` endpoint returns a JSON object containing information > about pending operations. -- This message was sent by Atlassian Jira (v8.3.4#803005)