]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
Increased timeouts, for busy open.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Tue, 10 Apr 2007 07:59:45 +0000 (07:59 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Tue, 10 Apr 2007 07:59:45 +0000 (07:59 +0000)
Unit test would fail; due to open busy with other tasks.

git-svn-id: file:///svn/unbound/trunk@235 be551aaa-1e26-0410-a405-d3ace91eadb9

testcode/checklocks.c

index 445dbaa797da1de3d2b780a2d7f4d4d64c9398e6..0b733dbf007c1e88f7819d333f65dce5e416e78a 100644 (file)
@@ -52,9 +52,9 @@
 #ifdef USE_THREAD_DEBUG
 
 /** How long to wait before lock attempt is a failure. */
-#define CHECK_LOCK_TIMEOUT 15 /* seconds */
+#define CHECK_LOCK_TIMEOUT 30 /* seconds */
 /** How long to wait before join attempt is a failure. */
-#define CHECK_JOIN_TIMEOUT 120 /* seconds */
+#define CHECK_JOIN_TIMEOUT 240 /* seconds */
 
 /** if key has been created */
 static int key_created = 0;