Source-Changes-HG archive

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

[src/trunk]: src/tests/net/icmp Bump timeout to 20 seconds for slower machines.



details:   https://anonhg.NetBSD.org/src/rev/24e5e3789f68
branches:  trunk
changeset: 336348:24e5e3789f68
user:      martin <martin%NetBSD.org@localhost>
date:      Thu Feb 26 13:06:10 2015 +0000

description:
Bump timeout to 20 seconds for slower machines.

diffstat:

 tests/net/icmp/t_ping.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r 4b9fb2914d9a -r 24e5e3789f68 tests/net/icmp/t_ping.c
--- a/tests/net/icmp/t_ping.c   Thu Feb 26 13:03:21 2015 +0000
+++ b/tests/net/icmp/t_ping.c   Thu Feb 26 13:06:10 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: t_ping.c,v 1.15 2012/09/04 22:31:58 alnsn Exp $        */
+/*     $NetBSD: t_ping.c,v 1.16 2015/02/26 13:06:10 martin Exp $       */
 
 /*-
  * Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -29,7 +29,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: t_ping.c,v 1.15 2012/09/04 22:31:58 alnsn Exp $");
+__RCSID("$NetBSD: t_ping.c,v 1.16 2015/02/26 13:06:10 martin Exp $");
 #endif /* not lint */
 
 #include <sys/types.h>
@@ -60,7 +60,7 @@
 {
 
        atf_tc_set_md_var(tc, "descr", "check that kernel responds to ping");
-       atf_tc_set_md_var(tc, "timeout", "2");
+       atf_tc_set_md_var(tc, "timeout", "20");
 }
 
 ATF_TC_BODY(simpleping, tc)
@@ -316,7 +316,7 @@
 {
 
        atf_tc_set_md_var(tc, "descr", "send a \"ping of death\"");
-       atf_tc_set_md_var(tc, "timeout", "2");
+       atf_tc_set_md_var(tc, "timeout", "20");
 }
 
 ATF_TC_BODY(ping_of_death, tc)



Home | Main Index | Thread Index | Old Index