Skip to content

Commit

Permalink
debug ntcfactory timeout
Browse files Browse the repository at this point in the history
Signed-off-by: Aleksandr Ivanov <[email protected]>
  • Loading branch information
alexander-e1off committed Jul 23, 2024
1 parent 2b8e06f commit cc35b7e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/groups/mwc/mwcio/mwcio_ntcchannelfactory.t.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -100,18 +100,18 @@ static const ChannelWatermarkType::Enum WAT_LOW =

// Adjust attempt interval depending on the platform
#if defined(BSLS_PLATFORM_OS_SOLARIS) || defined(BSLS_PLATFORM_OS_AIX)
static const int k_ATTEMPT_INTERVAL_MS = 100;
static const int k_ATTEMPT_INTERVAL_MS = 200;
#elif defined( \
__has_feature) // Clang-supported method for checking sanitizers.
static const int k_ATTEMPT_INTERVAL_MS =
(__has_feature(memory_sanitizer) || __has_feature(thread_sanitizer) ||
__has_feature(undefined_behavior_sanitizer))
? 100
? 200
: 10;
#elif defined(__SANITIZE_MEMORY__) || defined(__SANITIZE_THREAD__) || \
defined(__SANITIZE_UNDEFINED__)
// GCC-supported macros for checking MSAN, TSAN and UBSAN.
static const int k_ATTEMPT_INTERVAL_MS = 100;
static const int k_ATTEMPT_INTERVAL_MS = 200;
#else
static const int k_ATTEMPT_INTERVAL_MS = 10;
#endif
Expand Down

0 comments on commit cc35b7e

Please sign in to comment.