@dbos-inc/pgnotifier-receiver 3.6.3-preview → 3.6.7-preview
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -271,12 +271,13 @@ describe('test-db-trigger-polling', () => {
|
|
|
271
271
|
expect(DBOSTriggerTestClassSN.snRecordMap.get(999)?.status).toBeUndefined();
|
|
272
272
|
expect(DBOSTriggerTestClassSN.tsRecordMap.get(999)?.status).toBeUndefined();
|
|
273
273
|
|
|
274
|
-
const wfs = await DBOS.
|
|
274
|
+
const wfs = await DBOS.listWorkflows({
|
|
275
275
|
workflowName: 'pollWFBySeq',
|
|
276
276
|
});
|
|
277
277
|
|
|
278
278
|
let foundQ = false;
|
|
279
|
-
for (const
|
|
279
|
+
for (const wf of wfs) {
|
|
280
|
+
const wfid = wf.workflowID;
|
|
280
281
|
const stat = await DBOS.retrieveWorkflow(wfid).getStatus();
|
|
281
282
|
if (stat?.queueName === q.name) foundQ = true;
|
|
282
283
|
}
|