Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure firstResponseLatency metric is a positive number (issue #740) #741

Closed
wants to merge 1 commit into from
Closed

Conversation

nickvollmar
Copy link
Contributor

Is it all right if I skip testing it?

Rationale:

  • The unit tests don't appear to directly address decode() or recordLatency()
  • my Mockito skills are very weak
  • this is such a quick change :)

@mp911de mp911de added the type: bug A general bug label Mar 24, 2018
@mp911de mp911de added this to the Lettuce 4.4.4 milestone Mar 24, 2018
@mp911de
Copy link
Collaborator

mp911de commented Mar 24, 2018

There's little excuse to skip testing. If there were proper tests in the first place, we'd had caught the bug earlier. I' going to add tests this time.

mp911de pushed a commit that referenced this pull request Mar 24, 2018
Swapped calculation to subtract sent time from first response (response is usually later than sent).

Original pull request: #741.
mp911de added a commit that referenced this pull request Mar 24, 2018
Add test. Add author tag.

Original pull request: #741.
mp911de pushed a commit that referenced this pull request Mar 24, 2018
Swapped calculation to subtract sent time from first response (response is usually later than sent).

Original pull request: #741.
mp911de added a commit that referenced this pull request Mar 24, 2018
Add test. Add author tag.

Original pull request: #741.
mp911de pushed a commit that referenced this pull request Mar 24, 2018
Swapped calculation to subtract sent time from first response (response is usually later than sent).

Original pull request: #741.
mp911de added a commit that referenced this pull request Mar 24, 2018
Add test. Add author tag.

Original pull request: #741.
mp911de pushed a commit that referenced this pull request Mar 24, 2018
Swapped calculation to subtract sent time from first response (response is usually later than sent).

Original pull request: #741.
mp911de added a commit that referenced this pull request Mar 24, 2018
Add test. Add author tag.

Original pull request: #741.
@mp911de
Copy link
Collaborator

mp911de commented Mar 24, 2018

That's merged and backported now.

@mp911de mp911de closed this Mar 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug A general bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants