mirror of
https://gitlab.nic.cz/knot/knot-dns.git
synced 2026-02-03 18:49:28 -05:00
Merge branch 'test_fail_faster' into 'master'
Test fail faster See merge request knot/knot-dns!1835
This commit is contained in:
commit
0537ab6d1f
2 changed files with 4 additions and 4 deletions
|
|
@ -118,8 +118,8 @@ class Server(object):
|
|||
START_WAIT = 2
|
||||
START_WAIT_VALGRIND = 5
|
||||
START_WAIT_ATTEMPTS = 60
|
||||
START_MAX_ATTEMPTS = 10 # During the test, fatal.
|
||||
START_INIT_ATTEMPTS = 3 # When starting a test, non-fatal.
|
||||
START_MAX_ATTEMPTS = 3 # During the test, fatal.
|
||||
START_INIT_ATTEMPTS = 1 # When starting a test, non-fatal.
|
||||
STOP_TIMEOUT = 30
|
||||
COMPILE_TIMEOUT = 60
|
||||
DIG_TIMEOUT = 5
|
||||
|
|
@ -880,7 +880,7 @@ class Server(object):
|
|||
|
||||
check_log("ZONE WAIT %s: %s" % (self.name, zone.name))
|
||||
|
||||
attempts = 60 if not self.valgrind else 100
|
||||
attempts = 15 if not self.valgrind else 25
|
||||
for t in range(attempts):
|
||||
try:
|
||||
if use_ctl:
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ def repo_file(*path):
|
|||
class Test(object):
|
||||
'''Specification of DNS test topology'''
|
||||
|
||||
MAX_START_TRIES = 10
|
||||
MAX_START_TRIES = 3
|
||||
XDP_LOCK_FILE = "/tmp/knottest-xdp-lock"
|
||||
LOCAL_ADDR_COMMON = {4: "127.0.0.1", 6: "::1"}
|
||||
LOCAL_ADDR_MULTI = LOCAL_ADDR_COMMON
|
||||
|
|
|
|||
Loading…
Reference in a new issue