Commit 0b47fbd
authored
[chore] Make Test_WindowsPerfCounterScraper more resilient (open-telemetry#41197)
The test has some sporadic failures when it hits `A counter with a
negative denominator value was detected.` - this is typically a
transient error when collecting performance counters on Windows. Similar
transient errors could also happen. Making the test more resilient by
testing a few times before giving up.
Fixes open-telemetry#411361 parent af7cf37 commit 0b47fbd
File tree
1 file changed
+5
-2
lines changed- receiver/windowsperfcountersreceiver
1 file changed
+5
-2
lines changedLines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
235 | 235 | | |
236 | 236 | | |
237 | 237 | | |
238 | | - | |
239 | | - | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
240 | 243 | | |
241 | 244 | | |
242 | 245 | | |
| |||
0 commit comments