-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/60524/
-----------------------------------------------------------
Review request for mesos, Alexander Rukletsov, Benjamin Mahler, Greg Mann, and
Vinod Kone.
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
-----
3rdparty/stout/include/stout/duration.hpp
b0cd77b833f6fbf752b4db820fd43b87e1d1e476
3rdparty/stout/tests/duration_tests.cpp
59b08f14849a8db31f11fbd0b2e1248c99afd9dd
Diff: https://reviews.apache.org/r/60524/diff/1/
Testing
-------
Added new Stout tests and confirmed that the Mesos test suite still passes.
Thanks,
Gastón Kleiman