diff options
author | Phil Mesnier <mesnier_p@ociweb.com> | 2007-08-22 21:44:32 +0000 |
---|---|---|
committer | Phil Mesnier <mesnier_p@ociweb.com> | 2007-08-22 21:44:32 +0000 |
commit | 51c2e695f98a21ea39bdb660c60c924006886b26 (patch) | |
tree | 73642848d56fcb44644d5882dee6982e752717df /ACE/protocols | |
parent | f7d0d562f0740efb88e14cfd964b731c6ad3662a (diff) | |
download | ATCD-51c2e695f98a21ea39bdb660c60c924006886b26.tar.gz |
Wed Aug 22 21:41:36 UTC 2007 Phil Mesnier <mesnier_p@ociweb.com>
Diffstat (limited to 'ACE/protocols')
4 files changed, 12 insertions, 8 deletions
diff --git a/ACE/protocols/tests/HTBP/Send_Large_Msg/Send_Large_Msg.mpc b/ACE/protocols/tests/HTBP/Send_Large_Msg/Send_Large_Msg.mpc index d973b59748f..61e59146a93 100644 --- a/ACE/protocols/tests/HTBP/Send_Large_Msg/Send_Large_Msg.mpc +++ b/ACE/protocols/tests/HTBP/Send_Large_Msg/Send_Large_Msg.mpc @@ -4,8 +4,6 @@ project(*Server): aceexe, htbp { exename = server - after += Test_Output - libs += Test_Output Source_Files { server.cpp @@ -14,8 +12,6 @@ project(*Server): aceexe, htbp { project(*Client): aceexe, htbp { exename = client - after += Test_Output - libs += Test_Output Source_Files { client.cpp diff --git a/ACE/protocols/tests/HTBP/Send_Large_Msg/server.cpp b/ACE/protocols/tests/HTBP/Send_Large_Msg/server.cpp index 10e380c8bcb..e4f632af9ea 100644 --- a/ACE/protocols/tests/HTBP/Send_Large_Msg/server.cpp +++ b/ACE/protocols/tests/HTBP/Send_Large_Msg/server.cpp @@ -1,7 +1,5 @@ // $Id$ -#include "tests/test_config.h" - #include "ace/Log_Msg.h" #include "ace/Get_Opt.h" @@ -150,9 +148,15 @@ ACE_TMAIN (int argc, ACE_TCHAR *argv[]) ACE_TEXT("(%P|%t) Server: ") ACE_TEXT("send returned %d\n"),n)); - ACE_DEBUG ((LM_DEBUG,"deleting channels[1]\n")); + ACE_OS::sleep(1); // prevent test failure on windows when the connection + // closes too fast. + ACE_DEBUG ((LM_DEBUG, + ACE_TEXT("(%P|%t) Server: ") + ACE_TEXT("deleting channels[1]\n"))); delete channels[1]; - ACE_DEBUG ((LM_DEBUG,"deleting channels[0]\n")); + ACE_DEBUG ((LM_DEBUG, + ACE_TEXT("(%P|%t) Server: ") + ACE_TEXT("deleting channels[0]\n"))); delete channels[0]; return 0; } diff --git a/ACE/protocols/tests/HTBP/Send_Recv_Tests/server.cpp b/ACE/protocols/tests/HTBP/Send_Recv_Tests/server.cpp index debf8d0557d..758fdc90a21 100644 --- a/ACE/protocols/tests/HTBP/Send_Recv_Tests/server.cpp +++ b/ACE/protocols/tests/HTBP/Send_Recv_Tests/server.cpp @@ -265,6 +265,8 @@ ACE_TMAIN (int argc, ACE_TCHAR *argv[]) ACE_DEBUG ((LM_DEBUG, ACE_TEXT("(%P) server: shutting down, flush returned %d\n"), result)); + ACE_OS::sleep(1); // prevent test failure on windows when the connection + // closes too fast. sock_stream[0].close(); sock_stream[1].close(); diff --git a/ACE/protocols/tests/HTBP/ping/server.cpp b/ACE/protocols/tests/HTBP/ping/server.cpp index 2a9c16427fc..7a3cb2e75b8 100644 --- a/ACE/protocols/tests/HTBP/ping/server.cpp +++ b/ACE/protocols/tests/HTBP/ping/server.cpp @@ -172,6 +172,8 @@ ACE_TMAIN (int argc , ACE_TCHAR *argv[]) ACE_OS::sleep (1); } } + ACE_OS::sleep(1); // prevent test failure on windows when the connection + // closes too fast. stream.close(); acc.close(); |