You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Yan Xu (JIRA)" <ji...@apache.org> on 2016/09/09 17:01:20 UTC

[jira] [Commented] (MESOS-5469) Remove hard-coded principals in `PersistentVolumeEndpointsTest.SlavesEndpointFullResources`

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

Yan Xu commented on MESOS-5469:
-------------------------------

Use {{strings::format()}}?

> Remove hard-coded principals in `PersistentVolumeEndpointsTest.SlavesEndpointFullResources`
> -------------------------------------------------------------------------------------------
>
>                 Key: MESOS-5469
>                 URL: https://issues.apache.org/jira/browse/MESOS-5469
>             Project: Mesos
>          Issue Type: Task
>          Components: tests
>            Reporter: Greg Mann
>              Labels: mesosphere, newbie
>
> In the test {{PersistentVolumeEndpointsTest.SlavesEndpointFullResources}}, the value {{test-principal}} is hard-coded into the JSON strings expected in HTTP responses. It would be more durable to use {{DEFAULT_CREDENTIAL.principal()}} instead.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)