forked from open-telemetry/opentelemetry-collector-contrib
-
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.
Fix TestGettingTrackingData flakiness (open-telemetry#27927)
**Description:** Fix flakiness in the `TestGettingTrackingData/Timeout_waiting_for_response` test. The root cause of the issue is that the `client` and `server` are connected to same pipe and if the server attempts to read after the client is closed it reports error EOF and the test code expects no error from the read operation. The issue is not specific to Windows. The fix was to give control to each test case of the read and write functions so this type of synchronization issue can be properly handled while keeping the test code coverage. **Link to tracking Issue:** Fix open-telemetry#25188 **Testing:** Multiple local runs with various cpu settings. **Documentation:** N/A Co-authored-by: Alex Boten <[email protected]>
- Loading branch information
Showing
1 changed file
with
28 additions
and
16 deletions.
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