Skip to content

Commit

Permalink
PMM-7 default scrape size test
Browse files Browse the repository at this point in the history
  • Loading branch information
yurkovychv committed Aug 22, 2023
1 parent 412d196 commit 322d63c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cli/tests/pmm-server-docker-generic.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ test.describe('-promscrape.maxScapeSize tests', async () => {
const customScrapeSize = '128';

await test.step('verify client docker logs for custom value', async () => {
await page.waitForTimeout(10_000);
const scrapeSizeLog = await cli.exec('docker logs pmm-client-custom-scrape-interval 2>&1 | grep \'promscrape.maxScrapeSize.*vm_agent\' | tail -1');
await scrapeSizeLog.outContains(`promscrape.maxScrapeSize=\\\"${customScrapeSize}MiB\\\"`)
})
Expand Down

0 comments on commit 322d63c

Please sign in to comment.