)]}'
{"nova/test.py":[{"author":{"_account_id":14070,"name":"Eric Fried","email":"openstack@fried.cc","username":"efried"},"change_message_id":"7d6ec72c2cbb746288803489ae7101bae0f620f9","unresolved":false,"context_lines":[{"line_number":435,"context_line":"        compute.manager._resource_tracker \u003d None"},{"line_number":436,"context_line":"        compute.start()"},{"line_number":437,"context_line":""},{"line_number":438,"context_line":"    @staticmethod"},{"line_number":439,"context_line":"    def restart_scheduler_service(scheduler):"},{"line_number":440,"context_line":"        \"\"\"Restart a scheduler service in a realistic way."},{"line_number":441,"context_line":""}],"source_content_type":"text/x-python","patch_set":1,"id":"3f79a3b5_e743a812","line":438,"updated":"2018-08-29 19:42:59.000000000","message":"This could be combined with the above into a generic restart_service method that detects (via the same kind of hasattr you\u0027re using here) whether it needs to do things like clear the host states or the resource tracker.","commit_id":"5fe80b6339b8a514bb4c1aee1f2d47cd83be592d"}],"nova/tests/functional/regressions/test_bug_1741125.py":[{"author":{"_account_id":4690,"name":"melanie witt","display_name":"melwitt","email":"melwittt@gmail.com","username":"melwitt"},"change_message_id":"dd7d84c805872096bd5873eebcab5da9a87c44f1","unresolved":false,"context_lines":[{"line_number":38,"context_line":""},{"line_number":39,"context_line":"        # Restart the scheduler to reset the host state cache."},{"line_number":40,"context_line":"        self.restart_scheduler_service(self.scheduler_service)"},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"        flavors \u003d self.api.get_flavors()"},{"line_number":43,"context_line":"        self.flavor1 \u003d flavors[0]"},{"line_number":44,"context_line":"        self.flavor2 \u003d flavors[1]"}],"source_content_type":"text/x-python","patch_set":1,"id":"3f79a3b5_a296fb3d","line":41,"updated":"2018-08-29 23:14:41.000000000","message":"Note to self: the scheduler service is started in ProviderUsageBaseTestCase.setUp.","commit_id":"5fe80b6339b8a514bb4c1aee1f2d47cd83be592d"}]}
