Commit 56b0a9f
[WebAudio] Loosen oscillator test thresholds to avoid Mac-11 flakiness
A subtle difference in FFT precision on Mac ARM64 (specifically Mac-11)
causes several oscillator tests to fail due to minor sample value
discrepancies.
This CL loosens the error and SNR thresholds slightly for:
- osc-negative-freq.html
- osc-sweep-snr-custom.html
- osc-sweep-snr-sawtooth.html
- osc-sweep-snr-sine.html
- osc-sweep-snr-square.html
- osc-sweep-snr-triangle.html
- start-sampling.html
- osc-basic-waveform.html
Additionally, updated `osc-basic-waveform.html` to include the
frequency in the SNR assertion message to avoid duplicate test names
when they share the same threshold.
TAG=agy
CONV=f54516f1-0c57-4af3-a490-fb33437bdacb
Bug: 40915857
Test: blink_web_tests
Change-Id: Idc9232aa5f6583f3474c140153bbf2b186361d81
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8155381
Reviewed-by: Mahesh Kannan <kmaheshb@google.com>
Commit-Queue: Hongchan Choi <hongchan@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1668917}1 parent bf101f7 commit 56b0a9f
1 file changed
Lines changed: 14 additions & 13 deletions
Lines changed: 14 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
54 | | - | |
| 53 | + | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
80 | | - | |
| 79 | + | |
| 80 | + | |
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
105 | | - | |
106 | | - | |
| 105 | + | |
| 106 | + | |
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
| |||
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
131 | | - | |
132 | | - | |
| 131 | + | |
| 132 | + | |
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
| |||
158 | 158 | | |
159 | 159 | | |
160 | 160 | | |
161 | | - | |
162 | | - | |
| 161 | + | |
| 162 | + | |
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
| |||
188 | 188 | | |
189 | 189 | | |
190 | 190 | | |
191 | | - | |
192 | | - | |
| 191 | + | |
| 192 | + | |
193 | 193 | | |
194 | 194 | | |
195 | 195 | | |
| |||
222 | 222 | | |
223 | 223 | | |
224 | 224 | | |
225 | | - | |
| 225 | + | |
| 226 | + | |
226 | 227 | | |
227 | 228 | | |
228 | 229 | | |
| |||
0 commit comments