mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2026-11-25 21:21:37 +00:00
fix(test): do not change the global log severity in tests
- ZeroCopyFromUnmanaged and RegionEventSubscriptions set the console severity to debug and did not restore it - the setting stayed active for all later tests in the same process, e.g. with --gtest_repeat or a direct run of the test binary Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -293,8 +293,6 @@ auto ZeroCopy(bool expandedShmMetadata = false) -> void
|
|||||||
// Currently it holds true for the shmem (across devices) and for zeromq (within same device) transports.
|
// Currently it holds true for the shmem (across devices) and for zeromq (within same device) transports.
|
||||||
auto ZeroCopyFromUnmanaged(string const& address, bool expandedShmMetadata, uint64_t rcSegmentSize) -> void
|
auto ZeroCopyFromUnmanaged(string const& address, bool expandedShmMetadata, uint64_t rcSegmentSize) -> void
|
||||||
{
|
{
|
||||||
fair::Logger::SetConsoleSeverity(fair::Severity::debug);
|
|
||||||
|
|
||||||
ProgOptions config1;
|
ProgOptions config1;
|
||||||
ProgOptions config2;
|
ProgOptions config2;
|
||||||
string session(tools::Uuid());
|
string session(tools::Uuid());
|
||||||
|
|||||||
@@ -153,8 +153,6 @@ void RegionsCache(const string& transport, const string& _address)
|
|||||||
|
|
||||||
void RegionEventSubscriptions(const string& transport, bool external)
|
void RegionEventSubscriptions(const string& transport, bool external)
|
||||||
{
|
{
|
||||||
fair::Logger::SetConsoleSeverity(fair::Severity::debug);
|
|
||||||
|
|
||||||
unique_ptr<ShmOwner> shmOwner = nullptr;
|
unique_ptr<ShmOwner> shmOwner = nullptr;
|
||||||
|
|
||||||
size_t session{tools::UuidHash()};
|
size_t session{tools::UuidHash()};
|
||||||
|
|||||||
Reference in New Issue
Block a user