diff options
author | MarcoFalke <falke.marco@gmail.com> | 2020-05-20 11:21:55 -0400 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2020-05-21 08:13:23 -0400 |
commit | 99993489da9bc003b823bcab10e5f5297b369431 (patch) | |
tree | 45507c9df19cf6b1c7a7123a2d0c49d38b9d58b8 /src/test/util | |
parent | fa4ea997b4da1ae0afafba223fff9efbeefaf555 (diff) |
test: Set -logthreadnames in unit tests
Diffstat (limited to 'src/test/util')
-rw-r--r-- | src/test/util/setup_common.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/util/setup_common.cpp b/src/test/util/setup_common.cpp index 37cdbf2dd6..9b69113546 100644 --- a/src/test/util/setup_common.cpp +++ b/src/test/util/setup_common.cpp @@ -74,11 +74,13 @@ BasicTestingSetup::BasicTestingSetup(const std::string& chainName, const std::ve "dummy", "-printtoconsole=0", "-logtimemicros", + "-logthreadnames", "-debug", "-debugexclude=libevent", "-debugexclude=leveldb", }, extra_args); + util::ThreadRename("test"); fs::create_directories(m_path_root); gArgs.ForceSetArg("-datadir", m_path_root.string()); ClearDatadirCache(); |