NetBSD-Bugs archive

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

misc/56879: too-short timeout in tests/net/if_wg/t_misc.sh



>Number:         56879
>Category:       misc
>Synopsis:       too-short timeout in tests/net/if_wg/t_misc.sh
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    misc-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jun 12 16:20:00 +0000 2022
>Originator:     Tom Lane
>Release:        HEAD/202206101540Z
>Organization:
PostgreSQL Global Development Group
>Environment:
NetBSD sss2.sss.pgh.pa.us 9.99.97 NetBSD 9.99.97 (SD0) #1: Sat Jun 11 17:32:11 EDT 2022  tgl%nuc1.sss.pgh.pa.us@localhost:/home/tgl/netbsd-H-202206101540Z/obj.hppa/sys/arch/hppa/compile/SD0 hppa
>Description:
This is in the same vein as PR 56875: my machine needs circa 30 seconds to run the net/if_wg/t_misc:wg_malformed test case, but the script sets a 10 second timeout.

>How-To-Repeat:
Run net/if_wg/t_misc on a slow machine.

>Fix:
Suggest

Index: tests/net/if_wg/t_misc.sh                                                
===================================================================
RCS file: /cvsroot/src/tests/net/if_wg/t_misc.sh,v                              
retrieving revision 1.11                                                        
diff -u -r1.11 t_misc.sh                                                        
--- tests/net/if_wg/t_misc.sh   26 Nov 2021 20:02:35 -0000      1.11            
+++ tests/net/if_wg/t_misc.sh   12 Jun 2022 16:13:20 -0000                      
@@ -603,7 +603,7 @@
                                                                                
        atf_set "descr" "tests malformed packet headers"                        
        atf_set "require.progs" "nc" "rump_server" "wgconfig" "wg-keygen"       
-       atf_set "timeout" "10"                                                  
+       atf_set "timeout" "100"                                                 
 }                                                                              
                                                                                
 wg_malformed_body()                                                            








Home | Main Index | Thread Index | Old Index