From 2f00d02464945432cfaf316edb6731ca4e5e5420 Mon Sep 17 00:00:00 2001 From: "Fabio M. Di Nitto" Date: Wed, 22 Feb 2017 14:40:06 +0100 Subject: [PATCH] [tests] don't spam for no logs Signed-off-by: Fabio M. Di Nitto --- libknet/tests/test-common.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libknet/tests/test-common.c b/libknet/tests/test-common.c index 3e51d8f..7d9d642 100644 --- a/libknet/tests/test-common.c +++ b/libknet/tests/test-common.c @@ -260,7 +260,7 @@ static void *_logthread(void *args) struct timeval tv; select_loop: - tv.tv_sec = 5; + tv.tv_sec = 60; tv.tv_usec = 0; FD_ZERO(&rfds); @@ -272,7 +272,7 @@ select_loop: return NULL; } if (!len) { - fprintf(data.std, "knet logs: No logs in the last 5 seconds\n"); + fprintf(data.std, "knet logs: No logs in the last 60 seconds\n"); } if (FD_ISSET(data.logfd, &rfds)) { flush_logs(data.logfd, data.std); -- 2.39.5