From b622e45f589f825165ecaf63d2c473ac874490e8 Mon Sep 17 00:00:00 2001 From: Saikumar Date: Wed, 13 Nov 2024 07:56:27 +0530 Subject: [PATCH] Updates to fix patterns with extra spaces --- cli/tests/haproxy.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cli/tests/haproxy.spec.ts b/cli/tests/haproxy.spec.ts index 5e661ab6e..71810e3ee 100644 --- a/cli/tests/haproxy.spec.ts +++ b/cli/tests/haproxy.spec.ts @@ -1,7 +1,7 @@ import { test } from '@playwright/test'; import * as cli from '@helpers/cli-helper'; -test.describe('HAProxy service CLI tests ', async () => { +test.describe('HAProxy service CLI tests', async () => { test.beforeAll(async ({}) => { const result = await cli.exec('docker ps | grep haproxy_pmm | awk \'{print $NF}\''); await result.outContains('haproxy_pmm', 'HAPROXY docker container should exist. please run pmm-framework with --database haproxy'); @@ -18,7 +18,7 @@ test.describe('HAProxy service CLI tests ', async () => { output = await cli.exec('sudo pmm-admin list'); await output.assertSuccess(); - await output.outContains('external-exporter Unknown'); + await output.outContains('external-exporter Unknown'); await output.outContains('haproxyServiceCLI1'); });