mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joseph Wu <>
Subject Re: Review Request 40512: Libprocess Reinit: Add a test-only method to reinitialize libprocess.
Date Wed, 12 Oct 2016 21:25:27 GMT

This is an automatically generated e-mail. To reply, visit:

(Updated Oct. 12, 2016, 2:25 p.m.)

Review request for mesos, Greg Mann, Artem Harutyunyan, Joris Van Remoortere, and Vinod Kone.


Rebase and whitespace tweak.

Bugs: MESOS-3820

Repository: mesos


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 5ddb10dd48908bdae898ccc45d1741d79efe2dce 
  3rdparty/libprocess/src/process.cpp f1d746c52cfe659f5cd7da4b7a6424ff585619a3 



TODO: Define `process::reinitialize` in several tests, such as `HTTPTest`, `MetricsTest`,
and `ReapTest` and call `process::reinitialize` before and after tests.


Joseph Wu

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message