summaryrefslogtreecommitdiffstats
path: root/src/test/erasure-code/TestErasureCodePluginJerasure.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/erasure-code/TestErasureCodePluginJerasure.cc')
-rw-r--r--src/test/erasure-code/TestErasureCodePluginJerasure.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/test/erasure-code/TestErasureCodePluginJerasure.cc b/src/test/erasure-code/TestErasureCodePluginJerasure.cc
index 9b1e1c7d389..ff90c8e35ae 100644
--- a/src/test/erasure-code/TestErasureCodePluginJerasure.cc
+++ b/src/test/erasure-code/TestErasureCodePluginJerasure.cc
@@ -20,6 +20,7 @@
#include "global/global_init.h"
#include "erasure-code/ErasureCodePlugin.h"
#include "common/ceph_argparse.h"
+#include "log/Log.h"
#include "global/global_context.h"
#include "common/config.h"
#include "gtest/gtest.h"
@@ -73,7 +74,9 @@ int main(int argc, char **argv)
g_conf->set_val("erasure_code_dir", directory, false, false);
::testing::InitGoogleTest(&argc, argv);
- return RUN_ALL_TESTS();
+ int status = RUN_ALL_TESTS();
+ g_ceph_context->_log->stop();
+ return status;
}
/*