Andrei Budnik commented on MESOS-9843:

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

 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

> 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

Reply via email to