Move sync_with_stdio into TestConnections constructor

This way all tests run with the same configuration.
This commit is contained in:
Markus Mäkelä
2018-11-15 10:57:52 +02:00
parent 29d96662eb
commit 396da06eb8
6 changed files with 1 additions and 10 deletions

View File

@ -107,6 +107,7 @@ TestConnections::TestConnections(int argc, char* argv[])
, threads(4)
, use_ipv6(false)
{
std::ios::sync_with_stdio(true);
signal_set(SIGSEGV, sigfatal_handler);
signal_set(SIGABRT, sigfatal_handler);
signal_set(SIGFPE, sigfatal_handler);