Comment 5 for bug 1541022

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to solar (master)

Reviewed: https://review.openstack.org/286040
Committed: https://git.openstack.org/cgit/openstack/solar/commit/?id=6f85c893b34fcd6f18dde2655226b3acd7f9ce3c
Submitter: Jenkins
Branch: master

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.

    Change-Id: I00057ab2707338692f080ced4603ab7303b8c9e2
    Closes-bug: 1541022