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

Replace JQ library for Windows tests #4197

Closed
Tracked by #17427
Deblintrake09 opened this issue May 24, 2023 · 1 comment
Closed
Tracked by #17427

Replace JQ library for Windows tests #4197

Deblintrake09 opened this issue May 24, 2023 · 1 comment

Comments

@Deblintrake09
Copy link
Contributor

Deblintrake09 commented May 24, 2023

Description

The jq library is used for parsing JSON in some tests modules, for example FIM tests. This library is not installed through pip in Windows environments and is not currently installed with the requirements or the setup.py in the deps.wazuh_testing folder.

If the library is not present, tests that require the library will fail in Windows and the error message is not clear. Also when the jq is used, it is launched as a python subprocess.

Current behavior

The library is not installed with the dependencies on Windows. If the library is not installed tests fail with an unclear error message.

Expected behavior

Tests work properly. Either with a replacement or the library is installed during dependencies setup.

Considerations

This issue is aimed for the IT migration process.

@vikman90
Copy link
Member

Closing this issue. Superseded by version 5.0.

@vikman90 vikman90 closed this as not planned Won't fix, can't repro, duplicate, stale Apr 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants