Describe the enhancement:
We caught a high-impact bug recently #34761 and we need to introduce some testing in order to prevent this bug from reappearing. Or even to make sure we've fixed all the occurrences.
It should be enough to:
also, before both changes calling Close twice would cause a panic on add_kubernetes_metadata.
The test should reproduce the issue on the old code before being accepted.
Describe the enhancement:
We caught a high-impact bug recently #34761 and we need to introduce some testing in order to prevent this bug from reappearing. Or even to make sure we've fixed all the occurrences.
It should be enough to:
SafeProcessorwrapper #34647 and before Stop re-using processors defined in the config #34761 this should return an erroralso, before both changes calling
Closetwice would cause a panic onadd_kubernetes_metadata.The test should reproduce the issue on the old code before being accepted.