Skip to content

Conversation

@mark200
Copy link
Contributor

@mark200 mark200 commented Aug 19, 2025

This fixes a flaky test which is failing on dev. The issue came when wrapping a float64 number as time.Duration (which converts to int64) value, which rounded the number down.

Fix is to first round the float64 value and then return it as a time.Duration value.

@mark200 mark200 force-pushed the fix-test-benchmark-state-get-quantile-success branch from c8f87b7 to 8b52ed9 Compare August 19, 2025 12:28
@mark200 mark200 changed the title Fix failing unit test TestBenchmarkStateGetQuantileSuccess Fix flaky unit test TestBenchmarkStateGetQuantileSuccess Aug 19, 2025
@mark200 mark200 force-pushed the fix-test-benchmark-state-get-quantile-success branch 6 times, most recently from b13a7ab to eb1f046 Compare August 19, 2025 14:33
@mark200 mark200 force-pushed the fix-test-benchmark-state-get-quantile-success branch from f992fa2 to 1f43145 Compare August 19, 2025 15:26
@pulkit4tech pulkit4tech merged commit b3cacff into yarpc:dev Aug 19, 2025
6 checks passed
mark200 added a commit to mark200/yab that referenced this pull request Aug 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants