Skip to content

Commit bc382b0

Browse files
author
Jose Nino
committed
why is this test hanging in CI but not locally?
Signed-off-by: Jose Nino <[email protected]>
1 parent 02c34fd commit bc382b0

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

test/integration/server.h

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,11 +198,13 @@ class NotifyingAllocatorImpl : public Stats::AllocatorImpl {
198198

199199
virtual void waitForCounterFromStringEq(const std::string& name, uint64_t value) {
200200
absl::MutexLock l(&mutex_);
201-
ENVOY_LOG_MISC(trace, "waiting for {} to be {}", name, value);
201+
ENVOY_LOG_MISC(error, "waiting for {} to be {}", name, value);
202202
while (getCounterLockHeld(name) == nullptr || getCounterLockHeld(name)->value() != value) {
203+
ENVOY_LOG_MISC(error, "but {} is currently {}", name,
204+
getCounterLockHeld(name) == nullptr ? -1 : getCounterLockHeld(name)->value());
203205
condvar_.Wait(&mutex_);
204206
}
205-
ENVOY_LOG_MISC(trace, "done waiting for {} to be {}", name, value);
207+
ENVOY_LOG_MISC(error, "done waiting for {} to be {}", name, value);
206208
}
207209

208210
virtual void waitForCounterFromStringGe(const std::string& name, uint64_t value) {

0 commit comments

Comments
 (0)