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

Fix racy tests that test streaming RPCs #4810

Merged
merged 4 commits into from
Jan 19, 2024

Conversation

azdagron
Copy link
Member

Adds middleware to tests that ensures that all handlers have finished before the test asserts properties about the stream.

Signed-off-by: Andrew Harding <azdagron@gmail.com>
Signed-off-by: Andrew Harding <azdagron@gmail.com>
@amartinezfayo amartinezfayo self-assigned this Jan 18, 2024
Signed-off-by: Andrew Harding <azdagron@gmail.com>
@MarcosDY MarcosDY merged commit 1426095 into spiffe:main Jan 19, 2024
32 checks passed
@azdagron azdagron deleted the fix-racy-streaming-rpc-tests branch January 19, 2024 20:48
@azdagron azdagron added this to the 1.9.0 milestone Jan 21, 2024
faisal-memon pushed a commit to faisal-memon/spire that referenced this pull request Feb 7, 2024
* Fix racy tests that test streaming RPCs

Signed-off-by: Andrew Harding <azdagron@gmail.com>
Signed-off-by: Faisal Memon <fymemon@yahoo.com>
sriyer pushed a commit to spire-vault/spire that referenced this pull request Feb 23, 2024
* Fix racy tests that test streaming RPCs

Signed-off-by: Andrew Harding <azdagron@gmail.com>
rushi47 pushed a commit to rushi47/spire that referenced this pull request Apr 11, 2024
* Fix racy tests that test streaming RPCs

Signed-off-by: Andrew Harding <azdagron@gmail.com>
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.

3 participants