[
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)