Skip to content

Wait for the mockup server process to exit before moving on - #1513

Merged
val-ms merged 1 commit into
Cisco-Talos:mainfrom
rma-x:main
May 30, 2025
Merged

val-ms merged 1 commit into
Cisco-Talos:mainfrom
rma-x:main

Conversation

@rma-x

@rma-x rma-x commented May 30, 2025

Copy link
Copy Markdown
Contributor

This fixes #1512, a race condition that triggers when the next server starts quicker than the previous one exits after signalling it asynchronously.

This fixes a race condition that triggers when the next server starts quicker than the previous one exits after signalling it asynchronously.

@val-ms val-ms left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good in the linux/mac github workflows and on windows/linux/mac builds in jenkins.
I didn't attempt to reproduce the race condition, but the change makes sense and didn't cause any unexpected problems.

Thanks for the help @rma-x !

@val-ms
val-ms merged commit 0e5d122 into Cisco-Talos:main May 30, 2025
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.

Fix a race condition in freshclam_test.py

2 participants