]> git.ipfire.org Git - thirdparty/bind9.git/commit
chg: test: Refactor configloading test
authorNicki Křížek <nicki@isc.org>
Fri, 18 Jul 2025 11:27:41 +0000 (13:27 +0200)
committerNicki Křížek <nicki@isc.org>
Fri, 18 Jul 2025 11:27:41 +0000 (13:27 +0200)
commitb2bb6051430dd07b5ba5d6af10607b5e7e5acdae
tree392279651a9549c90ec4b021b317b9d29fe28984
parentcf77bfacce0548b94b9a6c67eea3271158728f76
parentf076d0d619138caf8e77cd86ab0294d406a48f5f
chg: test: Refactor configloading test

- Use WatchLog.wait_for_sequence() for the configloading test.
- Omit artifacts check, as it seems quite useless for this test case.
- Join all the tests together. The test case is fairly simple here and
  this is the easiest way to ensure the log will be in a predictable
  state for all tests. Previously, there was no way to ensure
  test_configloading_loading() won't be executed after the other tests,
  which would render the check moot. It could also be separated into
  its own module, but that seems excessive for a simple test case like
  this.
- Use jinja2 template for named.conf and remove setup.sh.
- Remove README and put the relevent comment directly next to the test.
- Remove _sh_ from the test filename to uphold the naming convention.

Merge branch 'nicki/refactor-configloading-test' into 'main'

See merge request isc-projects/bind9!10748