From 322d63c48f7e7a60a3fec312b40b163a6a42a84d Mon Sep 17 00:00:00 2001 From: yurkovychv Date: Tue, 22 Aug 2023 13:07:51 +0300 Subject: [PATCH] PMM-7 default scrape size test --- cli/tests/pmm-server-docker-generic.spec.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/cli/tests/pmm-server-docker-generic.spec.ts b/cli/tests/pmm-server-docker-generic.spec.ts index 923f60849..cff05fcdd 100644 --- a/cli/tests/pmm-server-docker-generic.spec.ts +++ b/cli/tests/pmm-server-docker-generic.spec.ts @@ -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\\\"`) })