diff options
author | Gabriel Russell <gabriel.russell@mongodb.com> | 2020-03-05 13:45:21 -0500 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-04-14 21:34:40 +0000 |
commit | 79a8c251b6aa40165893bf0026091559eb5c13c7 (patch) | |
tree | 8a0728952b9ef13ae8a72c8c2ed60a6cf0492833 /src/mongo/util/concurrency | |
parent | be3eeca3c9802293b4a18cfae2d28c6cd41dfa29 (diff) | |
download | mongo-79a8c251b6aa40165893bf0026091559eb5c13c7.tar.gz |
SERVER-46127 unit tests log to a kTest component
Diffstat (limited to 'src/mongo/util/concurrency')
-rw-r--r-- | src/mongo/util/concurrency/spin_lock_test.cpp | 2 | ||||
-rw-r--r-- | src/mongo/util/concurrency/thread_pool_test.cpp | 2 | ||||
-rw-r--r-- | src/mongo/util/concurrency/ticketholder_test.cpp | 2 | ||||
-rw-r--r-- | src/mongo/util/concurrency/with_lock_test.cpp | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/src/mongo/util/concurrency/spin_lock_test.cpp b/src/mongo/util/concurrency/spin_lock_test.cpp index 08c8f83e3dd..99c0c0467e7 100644 --- a/src/mongo/util/concurrency/spin_lock_test.cpp +++ b/src/mongo/util/concurrency/spin_lock_test.cpp @@ -27,7 +27,7 @@ * it in the license file. */ -#define MONGO_LOGV2_DEFAULT_COMPONENT ::mongo::logv2::LogComponent::kDefault +#define MONGO_LOGV2_DEFAULT_COMPONENT ::mongo::logv2::LogComponent::kTest #include "mongo/platform/basic.h" diff --git a/src/mongo/util/concurrency/thread_pool_test.cpp b/src/mongo/util/concurrency/thread_pool_test.cpp index 175bc69e00a..30e5dbd0ddc 100644 --- a/src/mongo/util/concurrency/thread_pool_test.cpp +++ b/src/mongo/util/concurrency/thread_pool_test.cpp @@ -27,7 +27,7 @@ * it in the license file. */ -#define MONGO_LOG_DEFAULT_COMPONENT ::mongo::logger::LogComponent::kDefault +#define MONGO_LOGV2_DEFAULT_COMPONENT ::mongo::logv2::LogComponent::kTest #include "mongo/platform/basic.h" diff --git a/src/mongo/util/concurrency/ticketholder_test.cpp b/src/mongo/util/concurrency/ticketholder_test.cpp index f9f4c93236e..7e5cf20b415 100644 --- a/src/mongo/util/concurrency/ticketholder_test.cpp +++ b/src/mongo/util/concurrency/ticketholder_test.cpp @@ -28,7 +28,7 @@ */ -#define MONGO_LOG_DEFAULT_COMPONENT ::mongo::logger::LogComponent::kDefault +#define MONGO_LOGV2_DEFAULT_COMPONENT ::mongo::logv2::LogComponent::kTest #include "mongo/platform/basic.h" diff --git a/src/mongo/util/concurrency/with_lock_test.cpp b/src/mongo/util/concurrency/with_lock_test.cpp index e48f5a2a16d..8541ff26b3f 100644 --- a/src/mongo/util/concurrency/with_lock_test.cpp +++ b/src/mongo/util/concurrency/with_lock_test.cpp @@ -27,7 +27,7 @@ * it in the license file. */ -#define MONGO_LOG_DEFAULT_COMPONENT ::mongo::logger::LogComponent::kDefault +#define MONGO_LOGV2_DEFAULT_COMPONENT ::mongo::logv2::LogComponent::kTest #include "mongo/platform/basic.h" |