Skip to content
This repository has been archived by the owner on Mar 4, 2024. It is now read-only.

Commit

Permalink
EVEREST-488 Fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
gen1us2k committed Oct 13, 2023
1 parent d4aa5d4 commit 4050d26
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cli-tests/tests/flow/pg-operator.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,14 +66,14 @@ test.describe('Everest CLI install operators', async () => {
const operator = await cli.exec(`kubectl -n percona-everest get po | grep everest|awk {'print $1'}`);
await operator.assertSuccess();

const out = await cli.everestExecSkipWizard(
let out = await cli.everestExecSkipWizard(
`install operators --operator.mongodb=false --operator.postgresql=true --operator.xtradb-cluster=true --backup.enable=0 --monitoring.enable=0 --name=${clusterName}`,
);
const restartedOperator = await cli.exec(`kubectl -n percona-everest get po | grep everest|awk {'print $1'}`);
await restartedOperator.assertSuccess();

expect(operator.getStdOutLines()[0]).not.toEqual(restartedOperator.getStdOutLines()[0]);
const out = await cli.everestExecSkipWizard(
out = await cli.everestExecSkipWizard(
`install operators --operator.mongodb=false --operator.postgresql=true --operator.xtradb-cluster=true --backup.enable=0 --monitoring.enable=0 --name=${clusterName}`,
);

Expand Down

0 comments on commit 4050d26

Please sign in to comment.