Thanks for the pointer, Gordon. I uploaded a patch. I wasnt able to create a good test case for this. i wanted to mock the time.sleep (from the oslo.db.api.wrap_db_retry class) so as to assert the call_count of the mocked sleep function. But it seems like time is not an attribute of the wrap_db_retry class, so i cant do this. Any pointers would help. Thanks!
Thanks for the pointer, Gordon. I uploaded a patch. I wasnt able to create a good test case for this. i wanted to mock the time.sleep (from the oslo.db. api.wrap_ db_retry class) so as to assert the call_count of the mocked sleep function. But it seems like time is not an attribute of the wrap_db_retry class, so i cant do this. Any pointers would help. Thanks!