commit 6f85c893b34fcd6f18dde2655226b3acd7f9ce3c
Author: Maciej Kwiek <email address hidden>
Date: Mon Feb 29 14:19:21 2016 +0100
Timestamp comparison in calculating time fixed
There were two issue here:
* end_time was not assigned a new value when solar re-started tasks.
It caused tasks to have start_time higher than end_time until it
ended. It is fixed by setting end_time to 0 while starting task.
* While calculating the delta and longest path time, we checked if
end and start times were equal to 0 by strict comparison, which
didn't work due to timestamps being floats.
Reviewed: https:/ /review. openstack. org/286040 /git.openstack. org/cgit/ openstack/ solar/commit/ ?id=6f85c893b34 fcd6f18dde26552 26b3acd7f9ce3c
Committed: https:/
Submitter: Jenkins
Branch: master
commit 6f85c893b34fcd6 f18dde2655226b3 acd7f9ce3c
Author: Maciej Kwiek <email address hidden>
Date: Mon Feb 29 14:19:21 2016 +0100
Timestamp comparison in calculating time fixed
There were two issue here:
* end_time was not assigned a new value when solar re-started tasks.
It caused tasks to have start_time higher than end_time until it
ended. It is fixed by setting end_time to 0 while starting task.
* While calculating the delta and longest path time, we checked if
end and start times were equal to 0 by strict comparison, which
didn't work due to timestamps being floats.
Change-Id: I00057ab2707338 692f080ced4603a b7303b8c9e2
Closes-bug: 1541022