Skip to:
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
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