Skip to content

Commit

Permalink
[Java] Make tests a little more mailable to support MacOS better.
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeb01 committed Jun 10, 2024
1 parent 205f163 commit dc3c0c1
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,9 @@ void shouldSendStreamOfDataAndHandleMultipleGaps()
// Now, however, the UnicastRetransmitHandler treats new NAKs as a tacit admission that the previous
// NAK did its job and the prior gap was filled, so we can immediately handle the new NAK.

final long expectedCountWith10PercentBuffer = 110L;
assertThat(retransmitCount, lessThanOrEqualTo(expectedCountWith10PercentBuffer));
assertThat(nakCount, lessThanOrEqualTo(expectedCountWith10PercentBuffer));
final long expectedCountWithBuffer = 120L;
assertThat(retransmitCount, lessThanOrEqualTo(expectedCountWithBuffer));
assertThat(nakCount, lessThanOrEqualTo(expectedCountWithBuffer));
}
}

Expand Down

0 comments on commit dc3c0c1

Please sign in to comment.