You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@mesos.apache.org by Joseph Wu <jo...@mesosphere.io> on 2016/02/11 00:36:11 UTC
Review Request 43447: Update monitoring tests to pass shared_ptrs to
'StartSlave'.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/43447/
-----------------------------------------------------------
Review request for mesos, Bernd Mathiske and Artem Harutyunyan.
Bugs: MESOS-4633
https://issues.apache.org/jira/browse/MESOS-4633
Repository: mesos
Description
-------
Makes the following changes:
* All objects passed to `StartSlave` are transformed into `shared_ptr`.
* References to the above objects are updated to reflect the different type.
* Removes `Shutdown()` in at the end of all tests, except for master tests that have a stack-allocated dependency.
* Removes manual `delete`s inside tests.
* Generally renames test variables to be more consistent (i.e. `exec` -> `executor` and `dockerContainerizer` -> `containerizer`).
* Removes extraneous spaces in `Try<PID<Slave> >` in touched lines.
Diffs
-----
src/tests/health_check_tests.cpp 59ef31970af2d255abe169dfbc2e6e0314d29e9a
src/tests/monitor_tests.cpp 869c9e032817e8859a968232d4a61556a3d53d45
src/tests/rate_limiting_tests.cpp caced732ded05a334861a53488ef6391885b2263
src/tests/status_update_manager_tests.cpp d64d3b8c96270478f6b681c038de77c3a9eb68fe
Diff: https://reviews.apache.org/r/43447/diff/
Testing
-------
Tests are run at the very, very end of this review chain.
Thanks,
Joseph Wu