Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Shutdown DLQ segments flusher only if it has been started (#15649)
In DLQ unit testing sometime the DLQ writer is started explicitly without starting the segments flushers. In such cases the test 's logs contains exceptions which could lead to think that the test fails silently. Avoid to invoke scheduledFlusher's shutdown when it's not started (such behaviour is present only in tests).
- Loading branch information