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

Add integration build tag #258

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

Conversation

mauri870
Copy link
Member

@mauri870 mauri870 commented Dec 3, 2024

What does this PR do?

The test TestSyslogOutputCanBeClosed requires no syslog running on the host and root privileges to execute. Most Linux distros already have a syslog daemon running, causing test failures during development. These failures make it difficult to identify real issues with the tests.

Given this, introduce an integration build tag and run this test only by default on CI.

The integration build tag was previously used only for negative matches in certain tests, which is not meaningful. Remove the !integration annotations.

Checklist

  • My code follows the style guidelines of this project
  • I have commented my code, particularly in hard-to-understand areas
  • I have added tests that prove my fix is effective or that my feature works

The test TestSyslogOutputCanBeClosed requires no syslog running
on the host and root privileges to execute. Most Linux distros
already have a syslog daemon running, causing test failures
during development. These failures make it difficult to identify
real issues with the tests.

Given this, introduce an integration build tag
and run this test only by default on CI.

The integration build tag was previously used only for negative
matches in certain tests, which is not meaningful. Remove the
!integration annotations.
@mauri870 mauri870 self-assigned this Dec 3, 2024
@elasticmachine
Copy link
Collaborator

💚 Build Succeeded

cc @mauri870

@mauri870 mauri870 marked this pull request as ready for review December 3, 2024 16:39
@mauri870 mauri870 requested a review from a team as a code owner December 3, 2024 16:39
@mauri870 mauri870 requested review from khushijain21 and VihasMakwana and removed request for a team December 3, 2024 16:39
@ycombinator ycombinator added the Team:Elastic-Agent-Data-Plane Label for the Agent Data Plane team label Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cleanup Team:Elastic-Agent-Data-Plane Label for the Agent Data Plane team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants