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

Eric Mumau commented on MESOS-8551:
-----------------------------------

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.

 

> CLONE - Port libprocess http_tests.cpp
> --------------------------------------
>
>                 Key: MESOS-8551
>                 URL: https://issues.apache.org/jira/browse/MESOS-8551
>             Project: Mesos
>          Issue Type: Bug
>          Components: libprocess
>         Environment: Creating a new issue from Mesos-5814 to isolate the case 
> for HTTPTest, QueryEncodeDecode.
>            Reporter: Eric Mumau
>            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)

Reply via email to