You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@mesos.apache.org by Alexander Rojas <al...@mesosphere.io> on 2015/11/12 15:05:03 UTC

Review Request 40230: Updated HTTP pipelining test so two actors are involved.

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/40230/
-----------------------------------------------------------

Review request for mesos and Ben Mahler.


Bugs: MESOS-3705
    https://issues.apache.org/jira/browse/MESOS-3705


Repository: mesos


Description
-------

The test runs on one test but it never tried a situation in which the code actually violated pipelining (MESOS-3705) when multiple actors where involved.

This patch attempts to address the situation by making the test flaky if HTTP pipelining is violated across multiple actors.


Diffs
-----

  3rdparty/libprocess/src/tests/http_tests.cpp 7eb4ef187b2cb358c370d0381db65b8e18668bab 

Diff: https://reviews.apache.org/r/40230/diff/


Testing
-------

make check


Thanks,

Alexander Rojas


Re: Review Request 40230: Updated HTTP pipelining test so two actors are involved.

Posted by Mesos ReviewBot <re...@mesos.apache.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/40230/#review106245
-----------------------------------------------------------


Patch looks great!

Reviews applied: [40230]

All tests passed.

- Mesos ReviewBot


On Nov. 12, 2015, 2:10 p.m., Alexander Rojas wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/40230/
> -----------------------------------------------------------
> 
> (Updated Nov. 12, 2015, 2:10 p.m.)
> 
> 
> Review request for mesos and Ben Mahler.
> 
> 
> Bugs: MESOS-3705
>     https://issues.apache.org/jira/browse/MESOS-3705
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> Updates the HTTP pipelining test in order to verify that pipelining works across multiple actors.
> 
> 
> Diffs
> -----
> 
>   3rdparty/libprocess/src/tests/http_tests.cpp 7eb4ef187b2cb358c370d0381db65b8e18668bab 
> 
> Diff: https://reviews.apache.org/r/40230/diff/
> 
> 
> Testing
> -------
> 
> make check
> 
> 
> Thanks,
> 
> Alexander Rojas
> 
>


Re: Review Request 40230: Updated HTTP pipelining test so two actors are involved.

Posted by Ben Mahler <be...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/40230/#review106242
-----------------------------------------------------------

Ship it!


Looks good, just a minor suggestion below which I'll take care of when committing.

Also, probably we want to be clear in the description that the main motivation for this is to ensure we're testing that pipelining is correct across actors (not so much that we detect the subtle bug you mentioned).


3rdparty/libprocess/src/tests/http_tests.cpp (line 742)
<https://reviews.apache.org/r/40230/#comment165006>

    Looks like we need a comment here to mention why we're using 2 http servers. Just something simple like:
    
    // We use 2 'Http' Processes to ensure that pipelining
    // is respected across Processes in libprocess.


- Ben Mahler


On Nov. 12, 2015, 2:10 p.m., Alexander Rojas wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/40230/
> -----------------------------------------------------------
> 
> (Updated Nov. 12, 2015, 2:10 p.m.)
> 
> 
> Review request for mesos and Ben Mahler.
> 
> 
> Bugs: MESOS-3705
>     https://issues.apache.org/jira/browse/MESOS-3705
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> Updates the HTTP pipelining test in order to verify that pipelining works across multiple actors.
> 
> 
> Diffs
> -----
> 
>   3rdparty/libprocess/src/tests/http_tests.cpp 7eb4ef187b2cb358c370d0381db65b8e18668bab 
> 
> Diff: https://reviews.apache.org/r/40230/diff/
> 
> 
> Testing
> -------
> 
> make check
> 
> 
> Thanks,
> 
> Alexander Rojas
> 
>


Re: Review Request 40230: Updated HTTP pipelining test so two actors are involved.

Posted by Alexander Rojas <al...@mesosphere.io>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/40230/
-----------------------------------------------------------

(Updated Nov. 12, 2015, 3:10 p.m.)


Review request for mesos and Ben Mahler.


Changes
-------

Updates description.


Bugs: MESOS-3705
    https://issues.apache.org/jira/browse/MESOS-3705


Repository: mesos


Description (updated)
-------

Updates the HTTP pipelining test in order to verify that pipelining works across multiple actors.


Diffs
-----

  3rdparty/libprocess/src/tests/http_tests.cpp 7eb4ef187b2cb358c370d0381db65b8e18668bab 

Diff: https://reviews.apache.org/r/40230/diff/


Testing
-------

make check


Thanks,

Alexander Rojas