Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/net/icmp Do not use artificial low timeouts - slow mac...



details:   https://anonhg.NetBSD.org/src/rev/4b9fb2914d9a
branches:  trunk
changeset: 336347:4b9fb2914d9a
user:      martin <martin%NetBSD.org@localhost>
date:      Thu Feb 26 13:03:21 2015 +0000

description:
Do not use artificial low timeouts - slow machines might be still paging
in all the rump environment. Bump timeout from 4 seconds to 20 (my shark
needs ~9).

diffstat:

 tests/net/icmp/t_forward.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 316bc09bbbad -r 4b9fb2914d9a tests/net/icmp/t_forward.c
--- a/tests/net/icmp/t_forward.c        Thu Feb 26 13:00:26 2015 +0000
+++ b/tests/net/icmp/t_forward.c        Thu Feb 26 13:03:21 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: t_forward.c,v 1.8 2012/03/18 09:46:50 jruoho Exp $     */
+/*     $NetBSD: t_forward.c,v 1.9 2015/02/26 13:03:21 martin Exp $     */
 
 /*-
  * Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -29,7 +29,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: t_forward.c,v 1.8 2012/03/18 09:46:50 jruoho Exp $");
+__RCSID("$NetBSD: t_forward.c,v 1.9 2015/02/26 13:03:21 martin Exp $");
 #endif /* not lint */
 
 #include <sys/types.h>
@@ -129,7 +129,7 @@
 
        atf_tc_set_md_var(tc, "descr", "icmp.returndatabytes with certain "
            "packets can cause kernel panic (PR kern/43548)");
-       atf_tc_set_md_var(tc, "timeout", "4"); /* just in case */
+       atf_tc_set_md_var(tc, "timeout", "20"); /* just in case */
 }
 
 ATF_TC_BODY(returndatabytes, tc)



Home | Main Index | Thread Index | Old Index