-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Networking & Observability
-
ALL
-
200
-
None
-
None
-
None
-
None
-
None
-
None
-
None
The metrics filtering tests that run as background hooks are verify fragile. They verify that serverStatus sections exist for various objects at different times, but run in the background of other tests, so sometimes those tests change the objects being tested in a way to change the server status sections. The hook helpers currently try to detect such changes that may change the serverStatus sections, but this is very fragile to new sections that may be added in the future. We should consider a more robust approach. Some possibilities are:
- Ignore changes if the object in question has been replaced at all.
- Choose specific stable sections to test, rather than testing all sections, as then we can be confident that these sections should always be present in all cases.
The fragility here is the cause of BF-46075, not that new sections were added, but that it is hard to figure out under exactly what conditions sections may change.