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

Write unit tests for Test_splunk_Logs function #47

Open
jfrerich opened this issue Aug 23, 2021 · 0 comments
Open

Write unit tests for Test_splunk_Logs function #47

jfrerich opened this issue Aug 23, 2021 · 0 comments
Labels
Difficulty/2:Medium Medium ticket Hacktoberfest Help Wanted Community help wanted Tech/Go Up For Grabs Ready for help from the community. Removed when someone volunteers

Comments

@jfrerich
Copy link
Contributor

jfrerich commented Aug 23, 2021

This test stopped working because the Splunk server doesn't exist and the authorization fails. This caused CI testing to fail so the test was skipped for a short term fix.

This request is to rewrite the test so that it appropriately tests the function without accessing an external HTTP server.

The testing code can be found in /server/splunk/logs_test.go

@jfrerich jfrerich added Help Wanted Community help wanted Difficulty/2:Medium Medium ticket Tech/Go Up For Grabs Ready for help from the community. Removed when someone volunteers labels Aug 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Difficulty/2:Medium Medium ticket Hacktoberfest Help Wanted Community help wanted Tech/Go Up For Grabs Ready for help from the community. Removed when someone volunteers
Projects
None yet
Development

No branches or pull requests

2 participants