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

Fix logcollector integration test for Windows agent #5461

Closed

Conversation

nbertoldo
Copy link
Member

@nbertoldo nbertoldo commented Jun 4, 2024

Description

This PR closes #4840. It has been verified that logcollector integration tests are creating a test file without extension C:test. This causes an error if a folder with that name exists in the directory:

PermissionError: [Errno 13] Permission denied: 'c:\\test'

The extension (C:\test.log) has been added to make the tests more robust.

Testing performed

Tester Test path Jenkins Local OS Commit Notes
@nbertoldo (Developer) tests/integration/test_logcollector/test_log_filter_options ⚫⚫ 🟢 Windows Server 2016 b370977

@nbertoldo nbertoldo requested a review from cborla June 4, 2024 21:13
@nbertoldo nbertoldo self-assigned this Jun 4, 2024
@nbertoldo nbertoldo linked an issue Jun 4, 2024 that may be closed by this pull request
@nbertoldo nbertoldo force-pushed the fix/4840-logcollector-test-fails-for-windows-agent branch from 2d967e3 to b370977 Compare June 4, 2024 21:21
@cborla cborla closed this Jun 5, 2024
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.

LogCollector Test Fails for Windows Agents
2 participants