Commit d190325e authored by Pieter Hintjens's avatar Pieter Hintjens

Revert "Enlarge the race window for some test cases"

This reverts commit 2a84d259.

Broke regression test on test_hwm.cpp.
parent 0bc669b1
......@@ -255,9 +255,7 @@ int test_inproc_bind_and_close_first (int send_hwm, int /* recv_hwm */)
int main (void)
{
setup_test_environment();
no_race_tests_please() ;
int count;
// Default values are 1000 on send and 1000 one receive, so 2000 total
......
......@@ -222,8 +222,6 @@ int main (void)
{
setup_test_environment ();
no_race_tests_please() ;
void *ctx = zmq_ctx_new ();
assert (ctx);
// Control socket receives terminate command from main over inproc
......
......@@ -263,12 +263,6 @@ void setup_test_environment()
_CrtSetReportFile( _CRT_ASSERT, _CRTDBG_FILE_STDERR );
# endif
#endif
zmq_lb_race_window_2_size = 1 ;
}
void no_race_tests_please()
{
zmq_lb_race_window_2_size = 0 ;
}
// Provide portable millisecond sleep
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment