From 2bdf86d6c2cb246de46c30c12fa0739e09e69892 Mon Sep 17 00:00:00 2001 From: Simon Giesecke Date: Wed, 23 May 2018 13:21:36 +0200 Subject: [PATCH] Problem: timeout on test_many_sockets with epoll Solution: increase timeout, remove timeout settings for unsupported poll poller --- tests/CMakeLists.txt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 6ed61060..3e27318c 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -217,9 +217,8 @@ if(ZMQ_HAVE_CURVE) endif() set_tests_properties(test_heartbeats PROPERTIES TIMEOUT 60) -if(WIN32 AND ${POLLER} MATCHES "poll") - set_tests_properties(test_many_sockets PROPERTIES TIMEOUT 30) - set_tests_properties(test_immediate PROPERTIES TIMEOUT 30) +if(WIN32 AND ${POLLER} MATCHES "epoll") + set_tests_properties(test_many_sockets PROPERTIES TIMEOUT 120) endif() #add additional required flags