-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/40512/
-----------------------------------------------------------
(Updated April 14, 2016, 1:28 p.m.)
Review request for mesos, Artem Harutyunyan and Joris Van Remoortere.
Changes
-------
Reviving this chain...
Summary (updated)
-----------------
Libprocess Reinit: Add a test-only method to reinitialize libprocess.
Bugs: MESOS-3820
https://issues.apache.org/jira/browse/MESOS-3820
Repository: mesos
Description (updated)
-------
This builds upon earlier changes to complete `process::finalize`.
Tests which need to reconfigure libprocess, such as some SSL-related
tests, can use `process::reinitialize` to do so.
This method may also be useful for providing additional isolation
between tests, such as cleaning up all processes after each test case.
Diffs (updated)
-----
3rdparty/libprocess/src/openssl.cpp 523b9740a45bdae3fa9a1a1423108e6815fbf872
3rdparty/libprocess/src/process.cpp afeddec20495bb9621c3e26b0d425c9419654739
Diff: https://reviews.apache.org/r/40512/diff/
Testing
-------
Defined `process::reinitialize` in several tests, such as `HTTPTest`,
`MetricsTest`, and `ReapTest` can called `process::reinitialize` before and
after tests. Confirmed that this did not have side effects on other tests (See
https://reviews.apache.org/r/40453/ ).
Thanks,
Joseph Wu