You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Eric Mumau (JIRA)" <ji...@apache.org> on 2018/02/07 17:45:00 UTC

[jira] [Commented] (MESOS-5814) Port libprocess http_tests.cpp

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

Eric Mumau commented on MESOS-5814:
-----------------------------------

MESOS-5904 causes the failures for EndpointsHelp, EndpointsHelpRemoval, and NestedGet.

 

QueryEncodeDecode:

Issue:

This test fails for the case where a hashmap with more than one element is passed to encode.  The problem is caused because the test case expects the items to be in a different order than encode returns them.

 

Background:

hashmap is a wrapper around std:: unordered_map from the STL.  The encode function iterates through the items of a hashmap and generates a string representation.  The STL unordered_list does not place requirements on the order that elements of the collection are iterated.  (The order has nothing to do with the search complexity.)  This permits different implementations of unordered_map to be implemented differently, which in turn may cause encode to return different *correct* representations of a hashmap.

 

 

> Port libprocess http_tests.cpp
> ------------------------------
>
>                 Key: MESOS-5814
>                 URL: https://issues.apache.org/jira/browse/MESOS-5814
>             Project: Mesos
>          Issue Type: Bug
>          Components: libprocess
>            Reporter: Alex Clemmer
>            Assignee: Eric Mumau
>            Priority: Major
>              Labels: libprocess, mesosphere
>
> The test cases:
>  * HTTPTest, EndpointsHelp
>  * HTTPTest, EndpointsHelpRemoval
>  * HTTPTest, NestedGet
>  * HTTPTest, QueryEncodeDecode
> Are disabled in the Windows build because they fail.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)