Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added unique pointer for connection #4718

Merged
merged 2 commits into from
Dec 19, 2024
Merged

added unique pointer for connection #4718

merged 2 commits into from
Dec 19, 2024

Conversation

gaurav2699
Copy link
Contributor

Description

There were several timeouts observed in bvt tests and testmd runs due to connections pointer not returning the registration reference in connectionpriority test. unique_ptr is used for this and the issue is fixed.

@gaurav2699 gaurav2699 requested review from nibanks and sourad December 19, 2024 20:50
@gaurav2699 gaurav2699 requested a review from a team as a code owner December 19, 2024 20:50
@nibanks nibanks added the Bug: Test/Tool Code bug in the test or tool specific code. label Dec 19, 2024
@nibanks nibanks enabled auto-merge (squash) December 19, 2024 20:53
Copy link

codecov bot commented Dec 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.63%. Comparing base (a03d5c2) to head (23be022).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4718      +/-   ##
==========================================
- Coverage   87.21%   86.63%   -0.59%     
==========================================
  Files          56       56              
  Lines       17363    17363              
==========================================
- Hits        15144    15042     -102     
- Misses       2219     2321     +102     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@nibanks nibanks merged commit 9934866 into main Dec 19, 2024
469 of 470 checks passed
@nibanks nibanks deleted the timeout_memory_leak branch December 19, 2024 22:30
ami-GS pushed a commit that referenced this pull request Jan 8, 2025
ami-GS added a commit that referenced this pull request Jan 9, 2025
* added unique pointer for connection (#4718)

* Fix priority operation flaky test (#4615)

* Sleep longer to flush queue for sure

* cleanup environment for each test case

* sleep

* GetParam instead of sleep

* GetParam 50 times

* experimental, handshake just before enqueueing stream operations. Locally works for 1000 times

* connection start once all operations are queued

---------

Co-authored-by: Gaurav Singh <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug: Test/Tool Code bug in the test or tool specific code.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants