unit testing - When running make check on Mesos one of the tests fails, what now? -
after running make check
when building mesos, found 1 of tests failing. how can find out more reasoning behind failure?
note make check
needs run before following can used make check
renders needed binaries.
the following assumes current directory (pwd
) build
folder within extracted / cloned mesos project directory structure.
let's assume test named foo.bar
had failed you. go ahead , run test individually, enhanced output:
./bin/mesos-tests.sh --gtest_filter="foo.bar" --verbose
that should reveal more insights of failure reasoning.
in cases above still has little output understand problem, rare cases, beneficial increase verbosity further.
glog_v=2 ./bin/mesos-tests.sh --gtest_filter="foo.bar" --verbose
that enable common vlog
levels of mesos. not meant users developers. don't expect output user friendly.
Comments
Post a Comment