mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joseph Wu <>
Subject Review Request 43435: Change StartSlave test helper to take shared_ptr arguments.
Date Wed, 10 Feb 2016 23:35:59 GMT

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

Review request for mesos, Bernd Mathiske and Artem Harutyunyan.

Bugs: MESOS-4633

Repository: mesos


This modifies all variants of `MesosTest::StartSlave` to take `shared_ptr` instead of raw
pointers.  Ownership of the pointer is shared between the test and the `Slave` object created
by `Cluster::Slaves::start`.

Also removed the containerizer cleanup logic inside MesosTest, which is no longer necessary
with `shared_ptr`.


  src/tests/cluster.hpp 99a785ab0d4ee1a1e745202d2551de58a7631a85 
  src/tests/cluster.cpp 084fb1ce37a315c561c4587c4761c870f54c8625 
  src/tests/mesos.hpp c0997dbacf8753149caba0a8b2406afc35a4845f 
  src/tests/mesos.cpp e0f641c6828833de13a0a233e39ff6dc3f343d5c 



Tests are run at the very, very end of this review chain.


Joseph Wu

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