forked from apple/servicetalk
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove incorrect assertions from logging lifecycle observers (apple#2644
) Motivation: If request is retried multiple times, multiple callbacks can be invoked multiple times (for every retry attempt) when logging observers are applied at the client level. Modifications: - Remove some assertions from `LoggingGrpcLifecycleObserver` and `LoggingHttpLifecycleObserver`; - Clarify some expectations in `HttpLifecycleObserver` javadoc; Result: No `AssertionError` in tests that can retry.
- Loading branch information
1 parent
cf1da8d
commit 2a114c0
Showing
3 changed files
with
12 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters