mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vinod Kone <vinodk...@gmail.com>
Subject Re: Review Request 57298: Added a new libprocess test for invalid principals.
Date Sat, 04 Mar 2017 00:35:51 GMT

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


Ship it!





3rdparty/libprocess/src/tests/http_tests.cpp
Lines 1873 (patched)
<https://reviews.apache.org/r/57298/#comment239879>

    should we `delete` this constructor as a way to enforce? ofcourse one could still call
`Principal(None(), None())` to mimic this. just a thought.


- Vinod Kone


On March 3, 2017, 6:50 p.m., Greg Mann wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/57298/
> -----------------------------------------------------------
> 
> (Updated March 3, 2017, 6:50 p.m.)
> 
> 
> Review request for mesos, Alexander Rojas, Jan Schlicht, and Vinod Kone.
> 
> 
> Bugs: MESOS-7003
>     https://issues.apache.org/jira/browse/MESOS-7003
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> This patch adds `HttpAuthenticationTest.InvalidPrincipal` to
> libprocess to verify that requests return a 500 status code
> when the authenticator fails to return a valid principal.
> 
> 
> Diffs
> -----
> 
>   3rdparty/libprocess/src/tests/http_tests.cpp fb4da9aecff0370d97a15269c5d8fffb30e0478f

> 
> 
> Diff: https://reviews.apache.org/r/57298/diff/1/
> 
> 
> Testing
> -------
> 
> Testing details can be found at the end of this patch chain.
> 
> 
> Thanks,
> 
> Greg Mann
> 
>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message