We try to update the lease by setting the end date to be utcnow(): https://github.com/openstack/blazar-tempest-plugin/blob/master/blazar_tempest_plugin/tests/scenario/test_host_reservation.py#L296-L302
If utcnow() is near the end of a second, by the time the request reaches blazar-manager, the time may have reached the next second already.
We should use the same code as instance reservation: https://github.com/openstack/blazar-tempest-plugin/blob/master/blazar_tempest_plugin/tests/scenario/test_instance_reservation.py#L201-L208
We try to update the lease by setting the end date to be utcnow(): https:/ /github. com/openstack/ blazar- tempest- plugin/ blob/master/ blazar_ tempest_ plugin/ tests/scenario/ test_host_ reservation. py#L296- L302
If utcnow() is near the end of a second, by the time the request reaches blazar-manager, the time may have reached the next second already.
We should use the same code as instance reservation: https:/ /github. com/openstack/ blazar- tempest- plugin/ blob/master/ blazar_ tempest_ plugin/ tests/scenario/ test_instance_ reservation. py#L201- L208