This repository was archived by the owner on Jun 13, 2025. It is now read-only.
Commit 0194300
committed
fix(ta-gql): fill_nan on avg_duration in aggregate
it's possible for the avg_duration to be NaN (which is fine) but I
wasn't taking this into account in the aggregate calculation which
meant that the NaN's were propagating to the total duration and
slowest tests duration so we need to replace them with 0 because
that's effectively what they are1 parent 5d59b5c commit 0194300
File tree
2 files changed
+26
-1
lines changed- graphql_api
- tests
- types/test_results_aggregates
2 files changed
+26
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
819 | 819 | | |
820 | 820 | | |
821 | 821 | | |
| 822 | + | |
| 823 | + | |
| 824 | + | |
| 825 | + | |
| 826 | + | |
| 827 | + | |
| 828 | + | |
| 829 | + | |
| 830 | + | |
| 831 | + | |
| 832 | + | |
822 | 833 | | |
823 | 834 | | |
824 | 835 | | |
| |||
848 | 859 | | |
849 | 860 | | |
850 | 861 | | |
| 862 | + | |
| 863 | + | |
| 864 | + | |
| 865 | + | |
| 866 | + | |
| 867 | + | |
| 868 | + | |
| 869 | + | |
| 870 | + | |
| 871 | + | |
| 872 | + | |
| 873 | + | |
| 874 | + | |
| 875 | + | |
851 | 876 | | |
852 | 877 | | |
853 | 878 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
0 commit comments