----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/46373/#review132042 -----------------------------------------------------------
Patch looks great! Reviews applied: [46373] Passed command: export OS='ubuntu:14.04' CONFIGURATION='--verbose' COMPILER='gcc' ENVIRONMENT='GLOG_v=1 MESOS_VERBOSE=1'; ./support/docker_build.sh - Mesos ReviewBot On May 6, 2016, 5:08 a.m., zhou xing wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/46373/ > ----------------------------------------------------------- > > (Updated May 6, 2016, 5:08 a.m.) > > > Review request for mesos, Ben Mahler and Greg Mann. > > > Bugs: mesos-5060 > https://issues.apache.org/jira/browse/mesos-5060 > > > Repository: mesos > > > Description > ------- > > [MESOS-5060] > The patch did the following changes: > 1. Fix the length logic in files.cpp. > 2. Add some tests to test the /files/read.json endponit with > negative length. > > > Diffs > ----- > > src/files/files.cpp 4e916101b378b0e9032a08a3f6c73e195b2a08a1 > src/tests/files_tests.cpp 5d6620d13babaf0bb7f9c888bb1b4fa2228b6ccd > > Diff: https://reviews.apache.org/r/46373/diff/ > > > Testing > ------- > > make > make check > > request 'files/read.json' endpoint with negative offset or length argument > > > Thanks, > > zhou xing > >