Skip to content

Commit

Permalink
rephrase v0.38.2 release notes section on NaN
Browse files Browse the repository at this point in the history
  • Loading branch information
oleiade committed Jun 9, 2022
1 parent b5db1b6 commit c5fb815
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion release notes/v0.38.2.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ k6 v0.38.2 is a patch release containing a couple of bugfixes!

### Threshold over sub-metrics without samples would result in `NaN` ([#2520](https://github.com/grafana/k6/issues/2520))

There was a bug in thresholds applied to sub-metrics set to `abortOnFail` that would lead to their result being `NaN` rather than a numerical value. The following script, for instance:
There was a bug in thresholds applied to sub-metrics set to `abortOnFail`: leading k6 to evaluate thresholds that would have likely aborted before they had a chance of passing (because no samples for the given metric were recorded yet). This bug would have led to such thresholds' results value to be `NaN` rather than a numerical value. The following script, for instance:

```javascript
import { check, sleep } from 'k6';
Expand Down

0 comments on commit c5fb815

Please sign in to comment.