forked from elastic/elasticsearch
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adjust osprobe assertion for burst cpu (elastic#86990)
When gathering v1 cgroup cpu stats, the file is expected to have 3 lines. However, if the burst feature of cpu accounting is enabled, it will actually have 5 lines. This commit adjusts the assertion to allow for the extra lines. We ignore these lines already in the parsing of the calling method. Unfortunately this is not currently easy to test, and no tests exist. Give it is just an assertion that is relaxing, I think it's ok to fix this issue, and separately work on revamping the OsProbe tests.
- Loading branch information
Showing
2 changed files
with
13 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
pr: 86990 | ||
summary: Adjust osprobe assertion for burst cpu | ||
area: Infra/Core | ||
type: bug | ||
issues: [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters