You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Jay Guo (JIRA)" <ji...@apache.org> on 2017/02/08 09:41:41 UTC

[jira] [Commented] (MESOS-7063) Add a test for a MULTI_ROLE master re-registering an old agent.

    [ https://issues.apache.org/jira/browse/MESOS-7063?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15857726#comment-15857726 ] 

Jay Guo commented on MESOS-7063:
--------------------------------

[~gyliu][~bmahler] I'm trying to figure out how to test allocation info being correctly injected to tasks/executors. Essentially I want to be able to access {{struct Slave}} to see that {{tasks}} contain {{allocation_info}}. Any ideas?

I had this question while writing test for agent capabilities (to see {{struct Slave}}'s {{capabilities}} are correctly constructed). Ben advised to follow similar test pattern of {{version}}, however I couldn't find a test for that...

> Add a test for a MULTI_ROLE master re-registering an old agent.
> ---------------------------------------------------------------
>
>                 Key: MESOS-7063
>                 URL: https://issues.apache.org/jira/browse/MESOS-7063
>             Project: Mesos
>          Issue Type: Task
>          Components: test
>            Reporter: Benjamin Mahler
>            Assignee: Jay Guo
>
> We should ensure that the master's handling of non-MULTI_ROLE agents is correct. The master handles this by injecting the resource allocation info for the tasks / executors sent during the agent's re-registration.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)