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

Sleep longer to flush queue for sure #4615

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ami-GS
Copy link
Contributor

@ami-GS ami-GS commented Oct 15, 2024

Description

ConnectionPriority test has been failing frequently at stream start order validation.
Increase sleep time for actually flush any remaining operations in processing queue

Testing

Try running CI several times

Documentation

N/A

@ami-GS ami-GS marked this pull request as ready for review October 15, 2024 18:30
@ami-GS ami-GS requested a review from a team as a code owner October 15, 2024 18:30
Copy link

codecov bot commented Oct 15, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.91%. Comparing base (4316dbb) to head (0ee3a65).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4615      +/-   ##
==========================================
- Coverage   87.02%   86.91%   -0.12%     
==========================================
  Files          56       56              
  Lines       17354    17354              
==========================================
- Hits        15103    15083      -20     
- Misses       2251     2271      +20     

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

@@ -3656,7 +3656,7 @@ void QuicTestConnectionPriority()
// e.g. This test case randomly swap [3] and [4] and fail without sleep.
// This happens when [3] is already in the worker queue.
// Normal enqueue doesn't re-queue the Connection
CxPlatSleep(300);
CxPlatSleep(1000);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there any way to make these event based? Is there some event we could wait on instead?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe possible by ingesting dummy Operation on dummy Connection

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants