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

client: fix concurrency issue in test #6020

Merged
merged 1 commit into from
Dec 18, 2024

Conversation

thc202
Copy link
Member

@thc202 thc202 commented Dec 18, 2024

Stop the spider only after the access to the seed URL occurred and verify that the new URL was not accessed, otherwise the test could fail because the seed URL could be accessed between the calls to start and stop.

Stop the spider only after the access to the seed URL occurred and
verify that the new URL was not accessed, otherwise the test could fail
because the seed URL could be accessed between the calls to start and
stop.

Signed-off-by: thc202 <thc202@gmail.com>
@psiinon
Copy link
Member

psiinon commented Dec 18, 2024

Ha - my PR had another fix for this issue, but I think this one is better 😁

@kingthorin kingthorin merged commit 3a22683 into zaproxy:main Dec 18, 2024
9 of 10 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Dec 18, 2024
@psiinon
Copy link
Member

psiinon commented Dec 18, 2024

Logo
Checkmarx One – Scan Summary & Details56c9d69e-73c9-430c-8117-649703a36d41

No New Or Fixed Issues Found

@thc202 thc202 deleted the client/test/fix-issue branch December 18, 2024 10:04
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants