----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/58194/#review171298 -----------------------------------------------------------
src/tests/check_tests.cpp Line 837 (original), 839 (patched) <https://reviews.apache.org/r/58194/#comment244184> Does this mean the test runs for atleast 1 second? If yes, that's unfortunate. Also, if for whatever reason (VM slowness) it takes longer than 1s this will fail? Can you check the server is ready to serve requests some other way? Maybe a while loop that checks that the server is up or something? - Vinod Kone On April 4, 2017, 10:24 p.m., Alexander Rukletsov wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/58194/ > ----------------------------------------------------------- > > (Updated April 4, 2017, 10:24 p.m.) > > > Review request for mesos, Gastón Kleiman and Vinod Kone. > > > Repository: mesos > > > Description > ------- > > Introduce 1s delay to ensure the task (HTTP server) has enough time > to start and start serving request. > > > Diffs > ----- > > src/tests/check_tests.cpp d7fcbf940102efe0841f07e8c4937a78361bc422 > > > Diff: https://reviews.apache.org/r/58194/diff/1/ > > > Testing > ------- > > See https://reviews.apache.org/r/58196/ > > > Thanks, > > Alexander Rukletsov > >