- 20 Mar, 2019 1 commit
-
-
Michał Kępień authored
"rndc dumpdb" works asynchronously, i.e. the requested dump may not yet be fully written to disk by the time "rndc" returns. Prevent false positives for the "serve-stale" system test by only checking dump contents after the line indicating that it is complete is written.
-
- 28 Feb, 2019 1 commit
-
-
Michał Kępień authored
For all system tests utilizing named instances, call clean.sh from each test's setup.sh script in a consistent way to make sure running the same system test multiple times using run.sh does not trigger false positives caused by stale files created by previous runs. Ideally we would just call clean.sh from run.sh, but that would break some quirky system tests like "rpz" or "rpzrecurse" and being consistent for the time being does not hurt.
-
- 31 Jan, 2019 1 commit
-
-
Matthijs Mekking authored
This adds a test for rndc dumpdb to ensure the correct "stale comment" is printed. It also adds a test for non-stale data to ensure no "stale comment" is printed for active RRsets. In addition, the serve-stale tests are hardened with more accurate grep calls.
-
- 19 Dec, 2018 1 commit
-
-
Witold Krecicki authored
-
- 31 Oct, 2018 2 commits
-
-
Michał Kępień authored
Ensure that serve-stale works as expected when returning stale answers is enabled, the authoritative server does not respond, and there is no cached answer available.
-
Michał Kępień authored
Make sure that stale answers returned when the serve-stale feature is enabled have a TTL matching the value of the stale-answer-ttl setting.
-
- 10 Jul, 2018 1 commit
-
-
Michał Kępień authored
Net::DNS versions older than 0.67 respond to queries sent to a Net::DNS::Nameserver even if its ReplyHandler returns undef. This makes the "serve-stale" system test fail as it takes advantage of the newer behavior. Since the latest Net::DNS version available with stock RHEL/CentOS 6 packages is 0.65 and we officially support that operating system, bin/tests/system/serve-stale/ans2/ans.pl should behave consistently for various Net::DNS versions. Ensure that by reworking it so that it does not use Net::DNS::Nameserver.
-
- 14 Jun, 2018 1 commit
-
-
- 31 May, 2018 1 commit
-
-
- all tests with "recursion yes" now also specify "dnssec-validation yes", and all tests with "recursion no" also specify "dnssec-validation no". this must be maintained in all new tests, or else validation will fail when we use local root zones for testing. - clean.sh has been modified where necessary to remove managed-keys.bind and viewname.mkeys files.
-
- 23 Feb, 2018 2 commits
-
-
Ondřej Surý authored
-
Evan Hunt authored
- add CHANGES note - update copyrights and license headers - add -j to the make commands in .gitlab-ci.yml to take advantage of parallelization in the gitlab CI process
-
- 22 Feb, 2018 1 commit
-
-
Evan Hunt authored
-
- 16 Feb, 2018 10 commits
-
-
Stephen Morris authored
When running all the system tests, output from a test is sent to a test.output file in the test directory. These are combined in to systests.output when the run finishes.
-
Stephen Morris authored
... for misspellings, typos, trailing spaces, duplicated lines etc.
-
Stephen Morris authored
-
Stephen Morris authored
Currently these tests are allow_query, rpzrecurse and serve-stale 1. Function to copy files and set port numbers renamed from copy_config to copy_setports, as this is used to change the ports in Perl and Python test scripts as well. 2. Changes to rpzrecurse/tests.sh to handle two calls to getopts (one to parse port numbers, the other to parse rpzrecurse-specific options). Also fixed various commands to use correct ports. 3. Updates to "clean.sh" scripts to ensure that all files created in the test are removed.
-
Stephen Morris authored
-
-
-
-
-
-
- 12 Oct, 2017 3 commits
-
-
Mark Andrews authored
-
Mark Andrews authored
-
Mark Andrews authored
-
- 06 Sep, 2017 2 commits
-
-
Tinderbox User authored
-
Mark Andrews authored
-
- 05 Sep, 2017 1 commit
-
-
Mark Andrews authored
allows named to provide stale cached answers when the authoritative server is under attack. See max-stale-ttl, stale-answer-enable, stale-answer-ttl. [RT #44790]
-