-
Notifications
You must be signed in to change notification settings - Fork 39
PMM 9029: api tests: Connect to real DB for tests #1149
base: main
Are you sure you want to change the base?
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1149 +/- ##
==========================================
- Coverage 49.29% 49.06% -0.24%
==========================================
Files 180 182 +2
Lines 20826 21448 +622
==========================================
+ Hits 10267 10524 +257
- Misses 9426 9747 +321
- Partials 1133 1177 +44
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
@@ -0,0 +1,295 @@ | |||
// pmm-managed |
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.
can we include this test into api-tests directory?
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.
with that we will be able to remove a lot of duplications
} | ||
|
||
for _, pmmAgent := range agentListResponse.Payload.PMMAgent { | ||
if pmmAgent.AgentID == "pmm-server" { |
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.
let's also check that this pmm-agent is connected.
API tests are failing with
|
PMM-9029
Build: SUBMODULES-2565