1. 12 Aug, 2019 1 commit
    • Matthijs Mekking's avatar
      Make rbtdb maintain stale counters · a8b29e05
      Matthijs Mekking authored
      When updating the statistics for RRset types, if a header is marked
      stale or ancient, the appropriate statistic counters are decremented,
      then incremented.
      
      Also fix some out of date comments.
      
      (cherry picked from commit a3af2c57)
      a8b29e05
  2. 08 Aug, 2019 1 commit
  3. 20 Mar, 2019 1 commit
    • Michał Kępień's avatar
      Wait until "rndc dumpdb" completes · a61cc8cf
      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.
      
      (cherry picked from commit 6e3f812a)
      a61cc8cf
  4. 28 Feb, 2019 1 commit
    • Michał Kępień's avatar
      Call clean.sh from all relevant setup.sh scripts · 7b1f4c8a
      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.
      
      (cherry picked from commit a077a3ae)
      7b1f4c8a
  5. 31 Jan, 2019 1 commit
    • Matthijs Mekking's avatar
      Add tests for dumpdb stale ttl · a2d115cb
      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.
      a2d115cb
  6. 19 Dec, 2018 1 commit
  7. 31 Oct, 2018 2 commits
  8. 10 Jul, 2018 1 commit
    • Michał Kępień's avatar
      Do not use Net::DNS::Nameserver in the "serve-stale" system test · c4209418
      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.
      c4209418
  9. 14 Jun, 2018 1 commit
  10. 31 May, 2018 1 commit
    • Evan Hunt's avatar
      update system tests so validation won't fail when using IANA key · a7a2fa29
      Evan Hunt authored
      - 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.
      a7a2fa29
  11. 23 Feb, 2018 2 commits
  12. 22 Feb, 2018 1 commit
  13. 16 Feb, 2018 10 commits
  14. 12 Oct, 2017 3 commits
  15. 06 Sep, 2017 2 commits
  16. 05 Sep, 2017 1 commit