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

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
gen1us2k committed Oct 5, 2023
1 parent 934142c commit ac12ac3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli-tests/tests/flow/pg-operator.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ test.describe('Everest CLI install operators', async () => {
const restartedOperator = await cli.exec(`kubectl -n percona-everest get po | grep everest|awk {'print $1'}`);
await restartedOperator.assertSuccess();

expect(await operator.getStdOutLines()[0]).not.toEqual(await restartedOperator.getStdoutLines()[0]);
expect(operator.getStdOutLines()[0]).not.toEqual(restartedOperator.getStdoutLines()[0]);

Check failure on line 74 in cli-tests/tests/flow/pg-operator.spec.ts

View workflow job for this annotation

GitHub Actions / CLI tests (test-pg-operator) / CLI test-pg-operator

[flows] › flow/pg-operator.spec.ts:29:7 › Everest CLI install operators › install only postgresql-operator

1) [flows] › flow/pg-operator.spec.ts:29:7 › Everest CLI install operators › install only postgresql-operator › re-run everest install operators command TypeError: restartedOperator.getStdoutLines is not a function 72 | await restartedOperator.assertSuccess(); 73 | > 74 | expect(operator.getStdOutLines()[0]).not.toEqual(restartedOperator.getStdoutLines()[0]); | ^ 75 | await out.assertSuccess(); 76 | await out.outErrContainsNormalizedMany([ 77 | 'percona-xtradb-cluster-operator operator has been installed', at /home/runner/work/percona-everest-cli/percona-everest-cli/cli-tests/tests/flow/pg-operator.spec.ts:74:74 at /home/runner/work/percona-everest-cli/percona-everest-cli/cli-tests/tests/flow/pg-operator.spec.ts:64:5
await out.assertSuccess();
await out.outErrContainsNormalizedMany([
'percona-xtradb-cluster-operator operator has been installed',
Expand Down

0 comments on commit ac12ac3

Please sign in to comment.