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

[chore][pkg/stanza] Fix tests which leave files open #28569

Merged
merged 1 commit into from
Oct 24, 2023

Conversation

djaglowski
Copy link
Member

@djaglowski djaglowski commented Oct 24, 2023

fileconsumer.Manager.poll leaves files open so that the next poll cycle can use them. In tests, the direct use of this function should be accompanied by explicit action to clean up the files.

@djaglowski djaglowski added the Run Windows Enable running windows test on a PR label Oct 24, 2023
@djaglowski djaglowski force-pushed the pkg-stanza-fix-win-files branch 3 times, most recently from bff0641 to fb326b1 Compare October 24, 2023 14:35
@djaglowski djaglowski marked this pull request as ready for review October 24, 2023 16:21
@djaglowski djaglowski requested a review from a team as a code owner October 24, 2023 16:21
@dmitryax dmitryax merged commit 7daa7a3 into open-telemetry:main Oct 24, 2023
91 checks passed
@github-actions github-actions bot added this to the next release milestone Oct 24, 2023
@djaglowski djaglowski deleted the pkg-stanza-fix-win-files branch October 24, 2023 18:17
sigilioso pushed a commit to carlossscastro/opentelemetry-collector-contrib that referenced this pull request Oct 27, 2023
…28569)

`fileconsumer.Manager.poll` leaves files open so that the next poll
cycle can use them. In tests, the direct use of this function should be
accompanied by explicit action to clean up the files.
povilasv pushed a commit to coralogix/opentelemetry-collector-contrib that referenced this pull request Nov 8, 2023
…28569)

`fileconsumer.Manager.poll` leaves files open so that the next poll
cycle can use them. In tests, the direct use of this function should be
accompanied by explicit action to clean up the files.
jmsnll pushed a commit to jmsnll/opentelemetry-collector-contrib that referenced this pull request Nov 12, 2023
…28569)

`fileconsumer.Manager.poll` leaves files open so that the next poll
cycle can use them. In tests, the direct use of this function should be
accompanied by explicit action to clean up the files.
RoryCrispin pushed a commit to ClickHouse/opentelemetry-collector-contrib that referenced this pull request Nov 24, 2023
…28569)

`fileconsumer.Manager.poll` leaves files open so that the next poll
cycle can use them. In tests, the direct use of this function should be
accompanied by explicit action to clean up the files.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pkg/stanza Run Windows Enable running windows test on a PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants