8000 fix(tests): ensure TestLogs goroutine is closed by geyslan · Pull Request #4795 · aquasecurity/tracee · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

fix(tests): ensure TestLogs goroutine is closed #4795

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

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

Conversation

geyslan
Copy link
Member
@geyslan geyslan commented Jun 13, 2025

Close: #4782

1. Explain what the PR does

3f0df1d fix(tests): ensure TestLogs goroutine is closed

2. Explain how to test it

3. Other comments

@geyslan geyslan self-assigned this Jun 13, 2025
@Copilot Copilot AI review requested due to automatic review settings June 13, 2025 21:46
Copy link
@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR fixes an issue in the tests by ensuring that the TestLogs goroutine is closed properly.

  • Introduces a closeLogsDone function to prevent closing the channel multiple times.
  • Replaces direct channel close calls with calls to the new function.

@geyslan geyslan force-pushed the 4782-fix-goroutine-leak branch from f5079d9 to 3f0df1d Compare June 13, 2025 21:58
@geyslan geyslan requested a review from NDStrahilevitz June 14, 2025 16:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

some integration tests time out in minimal NixOS test env
2 participants
0