Skip to content

Commit

Permalink
Updates to fix patterns with extra spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
saikumar-vs committed Nov 13, 2024
1 parent 4c95001 commit b622e45
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cli/tests/haproxy.spec.ts
Original file line number Diff line number Diff line change
@@ -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');
Expand All @@ -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');
});

Expand Down

0 comments on commit b622e45

Please sign in to comment.