You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We want to add tests otlpexporter to verify behavior when the destination responds with permanent and non-permanent errors.
Use the test helper after it is implemented here #7479
The text was updated successfully, but these errors were encountered:
tigrannajaryan
changed the title
[otlpexporter] Add test to verify behavior on destination errors.
[otlpexporter] Add test to verify behavior on destination errors
Apr 3, 2023
**Description:** Adding a test helper to test exporter behaviour on
errors.
**Link to tracking Issue:**
#7479
Will also fix:
#7481
It is created based on the exporter receiver test:
#7516
The exporter targets `mockReceiver` as an endpoint.
The test cases covered here are:
1. ConsumeLogs/Traces/Metrics call succeeds at the first try
2. ConsumeLogs/Traces/Metrics call fails once with non-permanent error,
then succeeds on one of the next tries
3. ConsumeLogs/Traces/Metrics call fails once with permanent error and
the data is not retried
4. ConsumeLogs/Traces/Metrics call fails once with permanent error or
permanent error (then the test pass requirement is calculated based on
number of errors per kind/successfully delivered data/total number of
data to be delivered)
---------
Co-authored-by: Dmitry Anoshin <anoshindx@gmail.com>
We want to add tests otlpexporter to verify behavior when the destination responds with permanent and non-permanent errors.
Use the test helper after it is implemented here #7479
The text was updated successfully, but these errors were encountered: