CB-562: single source for the injector poll cadence; tighten count assertion
CI / build (pull_request) Successful in 59s
CI / contract (pull_request) Successful in 1m17s

This commit is contained in:
Dai Ha
2026-08-15 04:20:29 +02:00
parent 7a583c4045
commit 95e45007aa
3 changed files with 9 additions and 9 deletions
@@ -401,7 +401,8 @@ class InjectorTest {
.orElse("no grace-expiry WARN logged");
assertTrue(warn.contains(T), "the log names the target terminal: " + warn);
assertTrue(warn.contains("never reached"), "the log names the real cause: " + warn);
assertTrue(warn.contains("1"), "the log carries the failed message count: " + warn);
assertTrue(warn.contains("1 queued message"),
"the log carries the failed message count: " + warn);
} finally {
injectorLog.detachAppender(appender);
}