-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
chore(NA): move monitoring out of __tests__ folder #87556
chore(NA): move monitoring out of __tests__ folder #87556
Conversation
Pinging @elastic/kibana-operations (Team:Operations) |
x-pack/plugins/monitoring/server/cluster_alerts/alerts_clusters_aggregation.test.js
Show resolved
Hide resolved
x-pack/plugins/monitoring/server/cluster_alerts/verify_monitoring_license.test.js
Show resolved
Hide resolved
I am concerned with the tests which have been disabled. I am not familiar with any mocha tests which were not previously running. Do you have any more details to this? |
@tylersmalley as far as I could check our patterns to run
I found a lot of tests that were just forgot somewhere and not being run at all. When I've tried to migrate them into jest they failed because they were already pretty outdated. I've decided to make the ones passing to run again and add those notes to the one not running and let the underlying teams follow up on them. |
I see, appears to be test files under |
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.
Looks good from Stack Monitoring side. Thank you for this 👍
@tylersmalley I created the issue to track the two failing tests: #87620
@elasticmachine merge upstream |
💚 Build SucceededMetrics [docs]
History
To update your PR or re-run it, just comment with: |
7.x/7.12: dd71d8f |
* chore(NA): move server and common from monitoring out of the __tests__ folder * chore(NA): move monitoring public out of __tests__ folder * chore(NA): add missing skip on test Co-authored-by: Kibana Machine <[email protected]> # Conflicts: # x-pack/plugins/monitoring/server/kibana_monitoring/collectors/get_default_admin_email.test.js
* chore(NA): move server and common from monitoring out of the __tests__ folder * chore(NA): move monitoring public out of __tests__ folder * chore(NA): add missing skip on test Co-authored-by: Kibana Machine <[email protected]> # Conflicts: # x-pack/plugins/monitoring/server/kibana_monitoring/collectors/get_default_admin_email.test.js
…7689) * chore(NA): move monitoring out of __tests__ folder (#87556) * chore(NA): move server and common from monitoring out of the __tests__ folder * chore(NA): move monitoring public out of __tests__ folder * chore(NA): add missing skip on test Co-authored-by: Kibana Machine <[email protected]> # Conflicts: # x-pack/plugins/monitoring/server/kibana_monitoring/collectors/get_default_admin_email.test.js * test(NA): fix tests * chore(NA): fix some tests
…87690) * chore(NA): move monitoring out of __tests__ folder (#87556) * chore(NA): move server and common from monitoring out of the __tests__ folder * chore(NA): move monitoring public out of __tests__ folder * chore(NA): add missing skip on test Co-authored-by: Kibana Machine <[email protected]> # Conflicts: # x-pack/plugins/monitoring/server/kibana_monitoring/collectors/get_default_admin_email.test.js * test(NA): fix tests * chore(NA): fix some tests
It moves the second item of #85513 forward as it moves monitoring tests out of tests folder into our common setup for tests run with jest.