----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/40553/ -----------------------------------------------------------
(Updated Dec. 16, 2015, 10:50 p.m.) Review request for mesos, Benjamin Bannier and Till Toenshoff. Changes ------- Rebased onto master. Made a small Linux build fix. Results on CentOS6: [vagrant@centos-6 mesos]$ /usr/local/libexec/mesos/tests/mesos-tests --build_dir=/none ... [==========] 845 tests from 110 test cases ran. (189339 ms total) [ PASSED ] 841 tests. [ FAILED ] 4 tests, listed below: [ FAILED ] ExamplesTest.TestFramework [ FAILED ] ExamplesTest.NoExecutorFramework [ FAILED ] ExamplesTest.EventCallFramework [ FAILED ] ExamplesTest.PersistentVolumeFramework Bugs: MESOS-3608 https://issues.apache.org/jira/browse/MESOS-3608 Repository: mesos Description ------- This patch enables the installation mesos-tests and its dependencies and helper tool. The goal is to allow operators to build a separate test package that can be run at deployment time to verify that Mesos works in the deployment environment. Since the build directory is searched first, to run it on a host that has a build tree, you need to specify a non-existent tree: ~ $ $PREFIX/libexec/mesos/tests/mesos-tests --build_dir=/none - Add --enable-tests-install - Fix mesos-tests gmock dependencies - Optionally install tests, helpers and test modules - Add utility helpers to find various test resources Current test status: [==========] 784 tests from 106 test cases ran. (135304 ms total) [ PASSED ] 780 tests. [ FAILED ] 4 tests, listed below: [ FAILED ] ExamplesTest.TestFramework [ FAILED ] ExamplesTest.NoExecutorFramework [ FAILED ] ExamplesTest.EventCallFramework [ FAILED ] ExamplesTest.PersistentVolumeFramework Diffs (updated) ----- configure.ac 40d60a63cdba41d06305f09141f4d14d6e229d95 src/Makefile.am 8f6b98b5b0ddbfe6b97346704cb96937e0eca02e src/tests/containerizer/launch_tests.cpp c7ebe2606e4ff99ced90342dd16e0b4bf02bc504 src/tests/containerizer/memory_test_helper.cpp 4a3de2e3c887aa6afc604588850e1386f92d8c11 src/tests/containerizer/mesos_containerizer_tests.cpp fe679354d04d68b68e168cd8c4eab23898f6532f src/tests/containerizer/ns_tests.cpp 603e54b7303c5aa15e2c5715dc7a2f7e7d39541b src/tests/containerizer/port_mapping_tests.cpp 9bcf05ec071b44156b57d8515f47ee6a8bbfdfa0 src/tests/environment.cpp 36f0ad0b739559e5c883d72585731944da4283cf src/tests/fetcher_tests.cpp 1831d896ca8a52bec4adf87a67b6af845079796c src/tests/health_check_tests.cpp 0fbccc373204d3b9431c614bdd6d046cc07e4566 src/tests/mesos.cpp a501f04dfbf9c93c2196e83b512519e925a67c97 src/tests/module.cpp e272bf0eccb61ae54440ec79adac8efad804c828 src/tests/module_tests.cpp a3271a3267647e0964dd3decb3ca8384417dd559 src/tests/oversubscription_tests.cpp 0333281c247dd182860a49f39be791c00679bf6b src/tests/script.cpp ee44fef29fb40e414d7507168091ee5cd0d15736 src/tests/slave_tests.cpp f19199344b8b542ebad1e59f4b97d8ca661aeb06 src/tests/utils.hpp a6cca472f4dfab12cd6eccab6972206d842177aa src/tests/utils.cpp 877139e97249761658dce3b1058cdc2e2a52367b Diff: https://reviews.apache.org/r/40553/diff/ Testing ------- Thanks, James Peach