Skip to content

Commit a232f29

Browse files
author
lexeyo
committed
feat all: enable deadlock detector in testsuite
Enables deadlock detector for all testsuite tests in detect-only mode. commit_hash:8939d732d036920ddf05f63a86bdf5ccff0be10c
1 parent 185112e commit a232f29

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

core/src/engine/deadlock_detector.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,9 @@ struct StateBase::Impl {
122122
StateBase::StateBase(DeadlockDetector dd) {
123123
impl_->enabled = dd != DeadlockDetector::kOff;
124124
impl_->collect_stacktrace = dd == DeadlockDetector::kOn;
125+
LOG_INFO()
126+
<< "Deadlock detector is " << (impl_->enabled ? "enabled" : "disabled") << ", stacktraces collection is "
127+
<< (impl_->collect_stacktrace ? "enabled" : "disabled");
125128
}
126129

127130
StateBase::~StateBase() = default;

0 commit comments

Comments
 (0)