-
Notifications
You must be signed in to change notification settings - Fork 40
feat: support MSSQL Server integration in tests #1304
Conversation
| replacedContent := strings.ReplaceAll(content, `domain\username`, "sa") | ||
| replacedContent = strings.ReplaceAll(replacedContent, "verysecurepassword", "1234_asdf") |
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.
Apply default credentials in metricbeat's configuration
💔 Tests Failed
Expand to view the summary
Build stats
Test stats 🧪
Trends 🧪Test errors
Expand to view the tests failures
|
| Test | Results |
|---|---|
| Failed | 4 |
| Passed | 214 |
| Skipped | 0 |
| Total | 218 |
Genuine test errors 
💔 There are test failures but not known flaky tests, most likely a genuine test failure.
- Name:
Initializing / End-To-End Tests / ubuntu-18.04_fleet_agent_endpoint_integration / Deploying an Endpoint makes policies to appear in the Security App – Agent Endpoint Integration - Name:
Initializing / End-To-End Tests / ubuntu-18.04_fleet_agent_endpoint_integration / Changing an Agent policy is reflected in the Security App – Agent Endpoint Integration - Name:
Initializing / End-To-End Tests / ubuntu-18.04_fleet_fleet_mode_agent / Revoking the enrollment token for the centos agent – Fleet Mode Agent - Name:
Initializing / End-To-End Tests / arm64_fleet_fleet_mode_agent / Revoking the enrollment token for the centos agent – Fleet Mode Agent
Just a note, in principle the integration was not broken, but its tests, that were not being executed in the usual developer workflows (elastic/beats#26526). |
Good point, I meant that the docker image used in tests for the integration was broken. Thanks for clarifying |
(cherry picked from commit 3188742)
(cherry picked from commit 3188742)
(cherry picked from commit 3188742)
(cherry picked from commit 3188742) Co-authored-by: Manuel de la Peña <[email protected]>
(cherry picked from commit 3188742) Co-authored-by: Manuel de la Peña <[email protected]>
(cherry picked from commit 3188742) Co-authored-by: Manuel de la Peña <[email protected]>
What does this PR do?
This PR adds the recently added "x-pack's MSSQL integration for metricbeat" to the Metricbeat test suite. We need to massage the configuration files a bit, that's why we are adding a new sanitizer for the incoming config files from Beats repo, whic basically means applying MSSQL Server's default credentials: (user:
sa, password1234_asdf).Why is it important?
We found that the MSSQL Server integration was broken in Beats (see elastic/beats#26440) , and for that reason we want to add this test as part of the regression test suite.
Checklist
make unit-test), and they are passing locallymake noticein the proper directory)Author's Checklist
How to test this PR locally
To run the unit tests:
To run the E2E tests for the new integration:
TAGS="integrations && mssql" TIMEOUT_FACTOR=3 LOG_LEVEL=TRACE DEVELOPER_MODE=true make -C e2e/_suites/metricbeat functional-testRelated issues