From: Alexander Moisseev Date: Thu, 11 Sep 2025 11:16:26 +0000 (+0300) Subject: [Test] Relax throughput counter check X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F5613%2Fhead;p=thirdparty%2Frspamd.git [Test] Relax throughput counter check --- diff --git a/test/playwright/tests/scan.spec.mjs b/test/playwright/tests/scan.spec.mjs index 2e6447fa5e..0d30f64e28 100644 --- a/test/playwright/tests/scan.spec.mjs +++ b/test/playwright/tests/scan.spec.mjs @@ -124,8 +124,10 @@ test.describe.serial("Scan flow across WebUI tabs", () => { test("Throughput `Total messages` counter increased", async ({}, testInfo) => { testInfo.setTimeout(140000); + // With empty RRD the first PDP is lost, so only +1 is visible // Depending on row boundaries, throughput may show +2 or even +3 const targetValues = [ + scannedBefore.throughput + 1, scannedBefore.throughput + 2, scannedBefore.throughput + 3, ];