> On Jan. 8, 2019, 12:01 a.m., Meng Zhu wrote: > > Thanks for fixing this! Can you describe what made the test flaky and how > > the patch fixes the issue (similar to your comment in the code)?
Thanks for asking for this, I've updated the summary with an explanation of the issue and the fix > On Jan. 8, 2019, 12:01 a.m., Meng Zhu wrote: > > src/tests/master_tests.cpp > > Lines 10336-10341 (patched) > > <https://reviews.apache.org/r/69689/diff/1/?file=2118326#file2118326line10336> > > > > While we are here, can you pause the clock at the beginning and advance > > the clock to trigger the agent registration and etc. I'm a little weary of tests all manually driving the agent registration (there should be a better abstraction for spinning up a test cluster that waits for it to get into the steady state automatically). Regardless, I took a different approach now based on matching appropriately. - Benjamin ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/69689/#review211749 ----------------------------------------------------------- On Jan. 9, 2019, 2:53 a.m., Benjamin Mahler wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/69689/ > ----------------------------------------------------------- > > (Updated Jan. 9, 2019, 2:53 a.m.) > > > Review request for mesos and Meng Zhu. > > > Bugs: MESOS-9495 > https://issues.apache.org/jira/browse/MESOS-9495 > > > Repository: mesos > > > Description > ------- > > The authorized function matcher would sometimes match a retry of > the agent registration authorization. To ensure the matcher only > matches the appropriate CREATE_VOLUME operation, we now specify > that the argument should have the CREATE_VOLUME action. > > > Diffs > ----- > > src/tests/master_tests.cpp 51fcbe8d72fce1e56790d22ab7deced4fdb3bf0e > > > Diff: https://reviews.apache.org/r/69689/diff/2/ > > > Testing > ------- > > Ran in repetition before (could trigger the failure) and after (no failures > yet). > > > Thanks, > > Benjamin Mahler > >
