postgres_exporter/percona_tests
2023-10-26 17:04:37 +03:00
..
assets PMM-12154 pull upstream changes (#153) 2023-10-26 12:59:42 +03:00
custom-queries PMM-10278 postgres_exporter integration tests (#71) 2022-10-03 16:30:44 +03:00
docker-compose.yml PMM-12154 pull upstream changes (#153) 2023-10-26 12:59:42 +03:00
env_prepare_test.go PMM-10278 postgres_exporter integration tests (#71) 2022-10-03 16:30:44 +03:00
Makefile PMM-12154 pull upstream changes (#153) 2023-10-26 12:59:42 +03:00
metrics_test.go PMM-12154 pull upstream changes (#153) 2023-10-26 12:59:42 +03:00
performance_test.go PMM-7 fix linters. (#161) 2023-10-26 17:04:37 +03:00
readme.md PMM-10278 postgres_exporter integration tests (#71) 2022-10-03 16:30:44 +03:00
utils_test.go PMM-12154 pull upstream changes (#153) 2023-10-26 12:59:42 +03:00

integration tests for exporter update

Fast start:

run

make prepare-env-from-repo

then run any of the make test-*

A bit of details:

  1. unpack original exporter

    make prepare-base-exporter

2.a. download updated exporter from specific feature build

make prepare-exporter-from-fb url="<feature build client binary url>"

2.b. or use current repo as updated exporter

make prepare-exporter-from-repo
  1. start test postgres_server

    make start-postgres-db

  2. run basic performance comparison test

    make test-performance

  3. run metrics list compatibility test

    make test-metrics