-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/40512/
-----------------------------------------------------------
Review request for mesos, Artem Harutyunyan and Joris Van Remoortere.
Bugs: MESOS-3820
https://issues.apache.org/jira/browse/MESOS-3820
Repository: mesos
Description
-------
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.
Diffs
-----
3rdparty/libprocess/src/openssl.cpp a2b7ab4e7ec92cc690f173134a7e8661cda77179
3rdparty/libprocess/src/process.cpp 8fa0594b671969c2713d1b361f2dbbb07d25b3a8
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