This commit is contained in:
@@ -87,7 +87,7 @@ describe('provisioning reads with retained lifecycle history', () => {
|
||||
fleetOperations(now);
|
||||
const queries = prepare.mock.calls
|
||||
.map(([sql]) => sql)
|
||||
.filter((sql) => sql.includes('server_deployments'));
|
||||
.filter((sql) => sql.includes('server_deployments') && sql.includes('UNION'));
|
||||
prepare.mockRestore();
|
||||
expect(queries).toHaveLength(1);
|
||||
const statement = handle.prepare(queries[0]);
|
||||
@@ -98,7 +98,8 @@ describe('provisioning reads with retained lifecycle history', () => {
|
||||
'state',
|
||||
'stage',
|
||||
'error',
|
||||
'started_at'
|
||||
'started_at',
|
||||
'evidence_at'
|
||||
]);
|
||||
const plan = handle.prepare(`EXPLAIN QUERY PLAN ${queries[0]}`).all() as {
|
||||
detail: string;
|
||||
|
||||
Reference in New Issue
Block a user