You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "James E. King, III (JIRA)" <ji...@apache.org> on 2018/03/11 14:37:00 UTC
[jira] [Created] (THRIFT-4515) Gracefully shutdown cross-test
servers to fully test teardown
James E. King, III created THRIFT-4515:
------------------------------------------
Summary: Gracefully shutdown cross-test servers to fully test teardown
Key: THRIFT-4515
URL: https://issues.apache.org/jira/browse/THRIFT-4515
Project: Thrift
Issue Type: Improvement
Components: Test Suite
Affects Versions: 0.11.0
Reporter: James E. King, III
The cross test suite kills the server process after the client is done, see test/crosstest/run.py:_scoped, the process is killed. In the C++ TestServer code at the end of main it sits in a TIGHT while loop unnecessarily causing CPU usage and slowing down the system.
There should be a signal (like SIGUSR1) that each server waits for, and on receiving that signal stops the thrift server cleanly.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)