mesos-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Mumau (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (MESOS-5814) Port libprocess http_tests.cpp
Date Wed, 07 Feb 2018 17:59:00 GMT

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

Eric Mumau edited comment on MESOS-5814 at 2/7/18 5:58 PM:
-----------------------------------------------------------

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

 

QueryEncodeDecode: Moved to Mesos-8551

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.

 

 


was (Author: ermumau):
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)

Mime
View raw message