diff --git a/iceoryx2-bb/elementary/src/package_version.rs b/iceoryx2-bb/elementary/src/package_version.rs index 82a0368c6..9dc710240 100644 --- a/iceoryx2-bb/elementary/src/package_version.rs +++ b/iceoryx2-bb/elementary/src/package_version.rs @@ -76,10 +76,17 @@ impl PackageVersion { .and_then(|s| s.parse::().ok()) .unwrap_or(u16::MAX); - PACKAGE_VERSION.store( - PackageVersion::from_version(major, minor, patch).0, - Ordering::Relaxed, - ); + if major == 0 && minor == 0 && patch == 0 { + PACKAGE_VERSION.store( + PackageVersion::from_version(u16::MAX, u16::MAX, u16::MAX).0, + Ordering::Relaxed, + ); + } else { + PACKAGE_VERSION.store( + PackageVersion::from_version(major, minor, patch).0, + Ordering::Relaxed, + ); + } } PackageVersion::from_u64(PACKAGE_VERSION.load(Ordering::Relaxed)) diff --git a/iceoryx2-ffi/cxx/tests/src/service_event_tests.cpp b/iceoryx2-ffi/cxx/tests/src/service_event_tests.cpp index f432641ce..cbe30fbd5 100644 --- a/iceoryx2-ffi/cxx/tests/src/service_event_tests.cpp +++ b/iceoryx2-ffi/cxx/tests/src/service_event_tests.cpp @@ -12,7 +12,6 @@ #include -#include "iox2/log.hpp" #include "iox2/node.hpp" #include "iox2/node_name.hpp" #include "iox2/service.hpp" @@ -138,7 +137,6 @@ TYPED_TEST(ServiceEventTest, open_fails_with_incompatible_max_listeners_requirem } TYPED_TEST(ServiceEventTest, open_or_create_service_does_exist) { - iox2::set_log_level(LogLevel::TRACE); constexpr ServiceType SERVICE_TYPE = TestFixture::TYPE; const auto service_name = iox2_testing::generate_service_name();