示例#1
0
            def do_GET(self):  # pylint: disable=invalid-name
                """Return all thread stacktraces information for GET request."""
                self.send_response(200)
                self.send_header('Content-Type', 'text/plain')
                self.end_headers()

                self.wfile.write(thread_dump().encode('utf-8'))
示例#2
0
 def wrapped_method_for_test():
     threaddump = worker_status.thread_dump()
     self.assertRegex(threaddump, '.*wrapped_method_for_test.*')
示例#3
0
 def _log_full_thread_dump(self):
   # type: () -> None
   thread_dump()
示例#4
0
 def _log_full_thread_dump(self):
   thread_dump()