-
Notifications
You must be signed in to change notification settings - Fork 0
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
DEV-45405 - Fix grafana tests #29
Conversation
api_notification_channel_test.go error_handling_test.go api_plugins_test.go - updated the expectedListResp.json
run-test |
1 similar comment
run-test |
run-test |
This pull request has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in 2 weeks if no further activity occurs. Please feel free to give a status update or ping for review. Thank you for your contributions! |
run-test |
run-test |
2 similar comments
run-test |
run-test |
This pull request has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in 2 weeks if no further activity occurs. Please feel free to give a status update or ping for review. Thank you for your contributions! |
run-test |
* changed implementation in alertmanager.go NewAlertmanager() to avoid null exception if there is no ParsedAppUrl provided in config (fixes a lot of tests) * changed implementation in navtree.go to remove the connections section (datasources) in another place, to help tests pass and makes more sense.
run-test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i hope you checked that datasource menu is really not visible...
@@ -485,7 +487,7 @@ func (s *ServiceImpl) buildDataConnectionsNavLink(c *contextmodel.ReqContext) *n | |||
|
|||
baseUrl := s.cfg.AppSubURL + "/connections" | |||
|
|||
if false && hasAccess(datasources.ConfigurationPageAccess) { // LOGZ.IO GRAFANA CHANGE :: hide datasources menu, should be done by altering permissions | |||
if hasAccess(datasources.ConfigurationPageAccess) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this has no Grafana update msg?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is a revert to original code, that's why i removed the logz comment (i simply moved the logz change to the part that calls this function to make the tests pass 🙏 )
run-test |
fix the failing grafana unit tests so we can have green pipeline
tests fixed:
also: