)]}'
{"tests/base.py":[{"author":{"_account_id":2475,"name":"Antoine Musso","email":"hashar@free.fr","username":"hashar"},"change_message_id":"a153807baf40b56b3f1af9d133e488fe790e7978","unresolved":false,"context_lines":[{"line_number":4459,"context_line":"                # One of the schedulers still has events to process."},{"line_number":4460,"context_line":"                time.sleep(0.1)"},{"line_number":4461,"context_line":"            else:"},{"line_number":4462,"context_line":"                self.scheds.execute(lambda app: app.sched.wake_event.wait(0.1))"},{"line_number":4463,"context_line":""},{"line_number":4464,"context_line":"    def waitForPoll(self, poller, timeout\u003d30):"},{"line_number":4465,"context_line":"        self.log.debug(\"Wait for poll on %s\", poller)"}],"source_content_type":"text/x-python","patch_set":3,"id":"1f621f24_bc022ab3","line":4462,"range":{"start_line":4462,"start_character":16,"end_line":4462,"end_character":79},"updated":"2020-11-02 11:36:30.000000000","message":"The, now merged, parent change added some debug logging showing how long it took to settle and how many times that looped ( https://review.opendev.org/#/c/704380/2/tests/base.py\n )\n\nThis change is the fix: the wait() call does NOT wait at all while there are events in the scheduler.   That causes a fast infinite loop until the events get purged.  The debug log show up something such as:\n\n ...settled after 120ms / 10000 loops","commit_id":"65191657990de7147438cab9a72efbda34310a99"}]}
