mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-01-04 13:59:35 -05:00
- Fix tests for new rrset-roundrobin default.
This commit is contained in:
parent
6320776b25
commit
584c2cf804
3 changed files with 5 additions and 0 deletions
|
|
@ -6,6 +6,7 @@
|
|||
|
||||
21 April 2020: George
|
||||
- Change default value for 'rrset-roundrobin' to yes.
|
||||
- Fix tests for new rrset-roundrobin default.
|
||||
|
||||
20 April 2020: Wouter
|
||||
- Fix #222: --enable-rpath, fails to rpath python lib.
|
||||
|
|
|
|||
|
|
@ -274,6 +274,8 @@ setup_config(FILE* in, int* lineno, int* pass_argc, char* pass_argv[])
|
|||
fprintf(cfg, " pidfile: \"\"\n");
|
||||
fprintf(cfg, " val-log-level: 2\n");
|
||||
fprintf(cfg, "remote-control: control-enable: no\n");
|
||||
/* some basic settings to facilitate testing */
|
||||
fprintf(cfg, "server: rrset-roundrobin: no\n");
|
||||
while(fgets(line, MAX_LINE_LEN-1, in)) {
|
||||
parse = line;
|
||||
(*lineno)++;
|
||||
|
|
|
|||
|
|
@ -867,6 +867,8 @@ main(int argc, char* argv[])
|
|||
printf("\tperforms unit tests.\n");
|
||||
return 1;
|
||||
}
|
||||
/* Disable roundrobin for the unit tests */
|
||||
RRSET_ROUNDROBIN = 0;
|
||||
#ifdef USE_LIBEVENT
|
||||
printf("Start of %s+libevent unit test.\n", PACKAGE_STRING);
|
||||
#else
|
||||
|
|
|
|||
Loading…
Reference in a new issue