fix(database): qualify RD21 saves against pinned MariaDB 12.2.2
This commit is contained in:
@@ -29,7 +29,7 @@ test('P9 bounded sustained reads with 250 jobs and long CV while using native wo
|
||||
const profile = { version: '1', contact: { fullName: 'Åse Synthetic', email: 'synthetic@example.test' }, summary: ['Documented accessible workflows.'],
|
||||
jobs: Array.from({ length: 8 }, (_, index) => ({ id: `p9-role-${index}`, title: `Platform engineer ${index}`, company: 'Nordlys synthetic',
|
||||
start: '2017-01', end: '2025-12', bullets: Array.from({ length: 6 }, (_, bullet) => `Evidence ${index}.${bullet}: ${'Documented reliable workflows. Dokumenterte pålitelige arbeidsflyter. '.repeat(3).trim()}`) })) };
|
||||
expect((await page.request.put(`${api}/career/profile`, { headers, data: { profile } })).status()).toBe(200);
|
||||
expect((await page.request.put(`${api}/career/profile`, { headers, data: { expectedVersion: (await (await page.request.get(`${api}/career/profile`)).json()).revision, profile } })).status()).toBe(200);
|
||||
const savedProfile = (await (await page.request.get(`${api}/career/profile`)).json()).profile;
|
||||
expect(savedProfile.jobs).toHaveLength(8);
|
||||
expect(savedProfile.jobs.map((job: { start: string; end: string; bullets: string[] }) => ({ start: job.start, end: job.end, bullets: job.bullets })))
|
||||
|
||||
Reference in New Issue
Block a user