----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/60524/ -----------------------------------------------------------
(Updated July 26, 2017, 11:31 p.m.) Review request for mesos, Alexander Rukletsov, Benjamin Mahler, Greg Mann, and Vinod Kone. Changes ------- Reordered the chain. We haven't reached consensus on this patch yet, it is likely that I'll end up discarding it. Bugs: MESOS-7661 https://issues.apache.org/jira/browse/MESOS-7661 Repository: mesos Description ------- Made the `Duration` arithmetic operators return `Duration::max()` if the operation would result in an integer overflow, and `Duration::min()` if it would result in an underflow. Diffs (updated) ----- 3rdparty/stout/include/stout/duration.hpp b0cd77b833f6fbf752b4db820fd43b87e1d1e476 3rdparty/stout/tests/duration_tests.cpp 59b08f14849a8db31f11fbd0b2e1248c99afd9dd Diff: https://reviews.apache.org/r/60524/diff/4/ Changes: https://reviews.apache.org/r/60524/diff/3-4/ Testing ------- Added new Stout tests and confirmed that the Mesos test suite still passes. Thanks, Gastón Kleiman