You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mesos.apache.org by Benjamin Hindman <be...@berkeley.edu> on 2014/03/10 07:39:54 UTC

Re: Review Request 18263: Used EXPECT_SOME_EQ in log tests.


> On Feb. 19, 2014, 6:15 p.m., Ben Mahler wrote:
> > src/tests/log_tests.cpp, lines 402-403
> > <https://reviews.apache.org/r/18263/diff/1/?file=497569#file497569line402>
> >
> >     You could actually squash these three lines into one for nearly all of these:
> >     
> >     {
> >       AWAIT_EXPECT_EQ(0u, coord.elect());
> >     }
> >

This actually requires some more overloads for checking equality of an Option and some value so I'm going to skip for now.


- Benjamin


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


On Feb. 19, 2014, 8:06 a.m., Benjamin Hindman wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/18263/
> -----------------------------------------------------------
> 
> (Updated Feb. 19, 2014, 8:06 a.m.)
> 
> 
> Review request for mesos, Ben Mahler and Jie Yu.
> 
> 
> Repository: mesos-git
> 
> 
> Description
> -------
> 
> See summary.
> 
> 
> Diffs
> -----
> 
>   src/tests/log_tests.cpp 7e6dbdee0a9b316e49fda5fd36a9f76331265a24 
> 
> Diff: https://reviews.apache.org/r/18263/diff/
> 
> 
> Testing
> -------
> 
> make check
> 
> 
> Thanks,
> 
> Benjamin Hindman
> 
>