Failed Workflow operations should still have timeinqueue set correctly

Description

Failed workflow operations are have the timeinqueue left set to NULL, this should be set to a valid value.

Activity

Show:
James Perrin
June 1, 2015, 3:48 PM
Edited

Job.getQueueTime() returns NULL if job hasn't started, it appears that the majority of calls to this function fail to check for NULL.

The InspectionWFOp does check

long timeInQueue = inspectJob.getQueueTime() == null ? 0 : inspectJob.getQueueTime();

James Perrin
June 2, 2015, 12:46 PM

The above is probably unnecessary and it is a matter of updating the operation's time in queue specifically when the operation fails.

Assignee

James Perrin

Reporter

James Perrin

Tags (folksonomy)

Components

Fix versions

Affects versions

Priority

Major
Configure