Browse Source

Merge pull request #5613 from moisseev/e2e

[Test] Relax throughput counter check
pull/5615/head
Vsevolod Stakhov 1 month ago
committed by GitHub
parent
commit
154d390fe8
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      test/playwright/tests/scan.spec.mjs

2
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,
];

Loading…
Cancel
Save