> On Jan. 14, 2017, 10:04 p.m., Guangya Liu wrote: > > src/tests/master_validation_tests.cpp, line 2616 > > <https://reviews.apache.org/r/55271/diff/5/?file=1603889#file1603889line2616> > > > > How about s/RejectRolesChange/RejectRolesChangeWithMutiRole > > Benjamin Bannier wrote: > When I named the test `RejectRolesChange` instead of `RejectRoleChange` I > was hoping it would already be clear that this test would deal with a > multi-role scenario. Was that too subtle? I would like to avoid excessive > redundancy in the test name. > > Michael Park wrote: > How about `RejectMultiRolesChange`?
Isn't this also highly redundant? I believe going forward we should parameterize these tests to take either some initial and final `role` or `roles`, and an boolean for whether we expect this migration to pass. In that cases it would make even sense to name these tests `RolesChange` and `RolesChangeOnMasterFailover`. I am still unsure on what to do with the `s` in there. - Benjamin ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/55271/#review161648 ----------------------------------------------------------- On Jan. 23, 2017, 9 a.m., Benjamin Bannier wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/55271/ > ----------------------------------------------------------- > > (Updated Jan. 23, 2017, 9 a.m.) > > > Review request for mesos, Benjamin Mahler, Jay Guo, Guangya Liu, and Michael > Park. > > > Bugs: MESOS-6631 > https://issues.apache.org/jira/browse/MESOS-6631 > > > Repository: mesos > > > Description > ------- > > We currently do not allow `MULTI_ROLE` frameworks to change their > roles. This restriction will be lifted later. > > > Diffs > ----- > > src/master/master.hpp 8e8a9037af11cf95961b6498540a0fd486ed091b > src/tests/master_validation_tests.cpp > a63178139a5283d6a3fcbe60c271dab1914e5da9 > > Diff: https://reviews.apache.org/r/55271/diff/ > > > Testing > ------- > > Tested on various Linux configurations in internal CI. > > > Thanks, > > Benjamin Bannier > >
