Reduce delay on OOOR delayed lookup.

A delay of 1000ms was causing frequent lookup timeouts e.g. on 9.9.9.9. We hypothesise that the delay causes an internal timeout in the server to fire. So reduce the delay to a smaller value that seems to leave the test working but reduces the incidence of timeouts.

We observe this still leaves timeouts on TLS connections to 9.9.9.9. These seem to occur only on TLS connections, and reducing the delay much further does not alter the observed behaviour. We guess there is something else going on there.
This commit is contained in:
Jim Hague 2018-01-29 10:17:54 +00:00
parent 1d211013e6
commit 3b5657e580
1 changed files with 1 additions and 1 deletions

View File

@ -1587,7 +1587,7 @@ static exit_value test_out_of_order(struct test_info_s *test_info,
/* A set of asynchronous queries to send. One exists. */ /* A set of asynchronous queries to send. One exists. */
const char GOOD_NAME[] = "getdnsapi.net"; const char GOOD_NAME[] = "getdnsapi.net";
struct async_query async_queries[] = { struct async_query async_queries[] = {
{ "1000.delay.getdnsapi.net", 0, false }, { "400.delay.getdnsapi.net", 0, false },
{ GOOD_NAME, 0, false } { GOOD_NAME, 0, false }
}; };
unsigned NQUERIES = sizeof(async_queries) / sizeof(async_queries[0]); unsigned NQUERIES = sizeof(async_queries) / sizeof(async_queries[0]);