This repository has been archived by the owner on Mar 4, 2024. It is now read-only.
EVEREST-302 Improve validation for backupStorage #914
Annotations
10 errors, 1 warning, and 1 notice
api-tests/tests/backup-storages.spec.ts#L180
1) [api] › backup-storages.spec.ts:147:5 › update backup storage failures ────────────────────────
Error: expect(received).toMatch(expected)
Expected substring: "'url' is an invalid URL"
Received string: "request body has an error: doesn't match schema #/components/schemas/UpdateBackupStorageParams: Error at \"/bucketName\": property \"bucketName\" is missing"
178 | });
179 |
> 180 | expect((await response.json()).message).toMatch(testCase.errorText);
| ^
181 | expect(response.status()).toBe(400);
182 | }
183 | });
at /home/runner/work/percona-everest-backend/percona-everest-backend/api-tests/tests/backup-storages.spec.ts:180:45
|
api-tests/tests/backup-storages.spec.ts#L161
1) [api] › backup-storages.spec.ts:147:5 › update backup storage failures ────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeTruthy()
Received: false
159 | });
160 |
> 161 | expect(response.ok()).toBeTruthy();
| ^
162 | const created = await response.json();
163 |
164 | const name = created.name;
at /home/runner/work/percona-everest-backend/percona-everest-backend/api-tests/tests/backup-storages.spec.ts:161:25
|
api-tests/tests/backup-storages.spec.ts#L161
1) [api] › backup-storages.spec.ts:147:5 › update backup storage failures ────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeTruthy()
Received: false
159 | });
160 |
> 161 | expect(response.ok()).toBeTruthy();
| ^
162 | const created = await response.json();
163 |
164 | const name = created.name;
at /home/runner/work/percona-everest-backend/percona-everest-backend/api-tests/tests/backup-storages.spec.ts:161:25
|
api-tests/tests/backup-storages.spec.ts#L194
2) [api] › backup-storages.spec.ts:185:5 › update: backup storage not found ──────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: 404
Received: 400
192 | });
193 |
> 194 | expect(response.status()).toBe(404);
| ^
195 | });
196 |
197 | test('delete: backup storage not found', async ({ request }) => {
at /home/runner/work/percona-everest-backend/percona-everest-backend/api-tests/tests/backup-storages.spec.ts:194:29
|
api-tests/tests/backup-storages.spec.ts#L194
2) [api] › backup-storages.spec.ts:185:5 › update: backup storage not found ──────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: 404
Received: 400
192 | });
193 |
> 194 | expect(response.status()).toBe(404);
| ^
195 | });
196 |
197 | test('delete: backup storage not found', async ({ request }) => {
at /home/runner/work/percona-everest-backend/percona-everest-backend/api-tests/tests/backup-storages.spec.ts:194:29
|
api-tests/tests/backup-storages.spec.ts#L194
2) [api] › backup-storages.spec.ts:185:5 › update: backup storage not found ──────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: 404
Received: 400
192 | });
193 |
> 194 | expect(response.status()).toBe(404);
| ^
195 | });
196 |
197 | test('delete: backup storage not found', async ({ request }) => {
at /home/runner/work/percona-everest-backend/percona-everest-backend/api-tests/tests/backup-storages.spec.ts:194:29
|
api-tests/tests/psmdb-clusters.spec.ts#L105
3) [api] › psmdb-clusters.spec.ts:37:5 › create/edit/delete single node psmdb cluster ────────────
Error: expect(received).toBeTruthy()
Received: false
103 | })
104 |
> 105 | expect(updatedPSMDBCluster.ok()).toBeTruthy()
| ^
106 |
107 | let psmdbCluster = await request.get(`/v1/kubernetes/${kubernetesId}/database-clusters/${clusterName}`)
108 |
at /home/runner/work/percona-everest-backend/percona-everest-backend/api-tests/tests/psmdb-clusters.spec.ts:105:36
|
api-tests/tests/psmdb-clusters.spec.ts#L105
3) [api] › psmdb-clusters.spec.ts:37:5 › create/edit/delete single node psmdb cluster ────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeTruthy()
Received: false
103 | })
104 |
> 105 | expect(updatedPSMDBCluster.ok()).toBeTruthy()
| ^
106 |
107 | let psmdbCluster = await request.get(`/v1/kubernetes/${kubernetesId}/database-clusters/${clusterName}`)
108 |
at /home/runner/work/percona-everest-backend/percona-everest-backend/api-tests/tests/psmdb-clusters.spec.ts:105:36
|
api-tests/tests/psmdb-clusters.spec.ts#L184
4) [api] › psmdb-clusters.spec.ts:119:5 › expose psmdb cluster after creation ────────────────────
Error: expect(received).toBeTruthy()
Received: false
182 | })
183 |
> 184 | expect(updatedPSMDBCluster.ok()).toBeTruthy()
| ^
185 |
186 | let psmdbCluster = await request.get(`/v1/kubernetes/${kubernetesId}/database-clusters/${clusterName}`)
187 |
at /home/runner/work/percona-everest-backend/percona-everest-backend/api-tests/tests/psmdb-clusters.spec.ts:184:36
|
api-tests/tests/psmdb-clusters.spec.ts#L184
4) [api] › psmdb-clusters.spec.ts:119:5 › expose psmdb cluster after creation ────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBeTruthy()
Received: false
182 | })
183 |
> 184 | expect(updatedPSMDBCluster.ok()).toBeTruthy()
| ^
185 |
186 | let psmdbCluster = await request.get(`/v1/kubernetes/${kubernetesId}/database-clusters/${clusterName}`)
187 |
at /home/runner/work/percona-everest-backend/percona-everest-backend/api-tests/tests/psmdb-clusters.spec.ts:184:36
|
|
2 failed
[api] › backup-storages.spec.ts:147:5 › update backup storage failures ─────────────────────────
[api] › backup-storages.spec.ts:185:5 › update: backup storage not found ───────────────────────
3 flaky
[api] › psmdb-clusters.spec.ts:37:5 › create/edit/delete single node psmdb cluster ─────────────
[api] › psmdb-clusters.spec.ts:119:5 › expose psmdb cluster after creation ─────────────────────
[api] › psmdb-clusters.spec.ts:198:5 › expose psmdb cluster on EKS to the public internet and scale up
42 passed (1.1m)
|
The logs for this run have expired and are no longer available.
Loading