pmm-dump regressions test should be able to use existing pmm containers

Description

end2end tests currently force us to launch docker containers for pmm/mongo, using the .env.test file:

https://github.com/percona/pmm-dump/blob/dev/tests/internal/test/e2e/basic_test.go#L11

https://github.com/percona/pmm-dump/blob/dev/tests/internal/testutil/pmm.go#L39

While we can pin the pmm server version, we can't really make it use our host pmm. Doing so could be useful to work on bugs:

  • reproduce the bugs

  • fix the bugs locally in branch

  • double-check if end2end test would pass => that's where we are blocked, as currently it forces to re-deploy a fresh pmm

 

Environment

None

Activity

Show:
Done

Details

Assignee

Reporter

Components

Fix versions

Priority

Smart Checklist

Created March 28, 2023 at 12:24 PM
Updated March 7, 2024 at 9:36 AM
Resolved July 21, 2023 at 2:58 PM

Flag notifications