> On Dec. 18, 2015, 12:57 a.m., Adam B wrote: > > src/tests/role_tests.cpp, lines 79-83 > > <https://reviews.apache.org/r/40995/diff/9/?file=1167052#file1167052line79> > > > > `AWAIT_EXPECT_RESPONSE_HEADER_EQ(APPLICATION_JSON, "Content-Type", > > response);` all fits on one line, and does the AWAITY_READY(response) as > > well as the header EQ check. > > You'll have to `include <mesos/http.hpp>` to get `APPLICATION_JSON`.
Fixed. To avoid the need to resolve some merge conflicts on rebase, I actually made this fix in https://reviews.apache.org/r/41225/ -- let me know if you'd rather I do the rebase + cleanup. - Neil ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/40995/#review111089 ----------------------------------------------------------- On Dec. 16, 2015, 9:05 p.m., Neil Conway wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/40995/ > ----------------------------------------------------------- > > (Updated Dec. 16, 2015, 9:05 p.m.) > > > Review request for mesos, Adam B, Alexander Rukletsov, Greg Mann, and > Yongqiao Wang. > > > Repository: mesos > > > Description > ------- > > Added test cases for role behavior. > > > Diffs > ----- > > src/Makefile.am 8f6b98b5b0ddbfe6b97346704cb96937e0eca02e > src/tests/reservation_tests.cpp f429472e6b93a5d6d8fe6a5f7d5b94fc331f7295 > src/tests/role_tests.cpp PRE-CREATION > > Diff: https://reviews.apache.org/r/40995/diff/ > > > Testing > ------- > > make check. > > > Thanks, > > Neil Conway > >
