Kea issueshttps://gitlab.isc.org/isc-projects/kea/-/issues2024-03-26T18:31:40Zhttps://gitlab.isc.org/isc-projects/kea/-/issues/3299Improve MT RADIUS unit tests2024-03-26T18:31:40ZAndrei Pavelandrei@isc.orgImprove MT RADIUS unit testsImprove RADIUS unit tests:
- no goal: write tests for session history: instead implement #414
- MT: see below
- async access added new ways to have a query to be dropped: add these cases
- find a way to detect accounting exchange te...Improve RADIUS unit tests:
- no goal: write tests for session history: instead implement #414
- MT: see below
- async access added new ways to have a query to be dropped: add these cases
- find a way to detect accounting exchange termination (e.g. a class counter of pending exchanges)
RADIUS could have more thorough MT unit tests:
- Start thread pool for accounting by calling the `dhcp*_srv_configured` callout. Currently it is only called for auth. Waiting for work to finish in accounting is not as trivial for auth. Auth uses the unparking for that. (see last general point)
- In both access and accounting, start a second thread pool that simulates the core Kea thread pool / DHCP clients.
- Convert more (all?) ST unit tests to MT. Currently there are only 4 MT unit tests: (v4 + v6) x (access + accounting).kea2.5.8https://gitlab.isc.org/isc-projects/kea/-/issues/2829Factor v4 BLQ unit tests2023-07-07T12:36:42ZFrancis DupontFactor v4 BLQ unit testsSQL unit tests for SQL backends can share a lot of code with memfile as they were copied from...
This creates a generic set of tests in testutils and then derive the tests for each of the backends.SQL unit tests for SQL backends can share a lot of code with memfile as they were copied from...
This creates a generic set of tests in testutils and then derive the tests for each of the backends.backloghttps://gitlab.isc.org/isc-projects/kea/-/issues/2523More libload unit tests for premium hooks2022-09-01T13:33:10ZFrancis DupontMore libload unit tests for premium hooks#2235 added new libload unit tests checking if a hook is used with the right server but for hooks registering new commands (the common case for these new tests) it is interesting (and easy) too to check if the commands are correctly regi...#2235 added new libload unit tests checking if a hook is used with the right server but for hooks registering new commands (the common case for these new tests) it is interesting (and easy) too to check if the commands are correctly registered after load and not registered before load and after unload.outstandinghttps://gitlab.isc.org/isc-projects/kea/-/issues/2360RADIUS subnet reselection does not apply subnet guards2023-05-30T11:02:05ZFrancis DupontRADIUS subnet reselection does not apply subnet guardsThe reselecSubnet* methods ignore subnet guards (i.e. subnet client class entries). It is not a critical problem because in configs for the RADIUS hook usually only pool guards are used.The reselecSubnet* methods ignore subnet guards (i.e. subnet client class entries). It is not a critical problem because in configs for the RADIUS hook usually only pool guards are used.next-stable-2.6https://gitlab.isc.org/isc-projects/kea/-/issues/1490spin-off from #1298: add tests for options with negative values2022-11-02T15:10:18ZAndrei Pavelandrei@isc.orgspin-off from #1298: add tests for options with negative valuesIt became apparent while working on #1298 that options can have negative values. Specifically the ones with `OPT_INT[0-9]+_TYPE` as opposed to `OPT_UINT[0-9]+_TYPE`.
And it became apparent that we don't have any tests validating that t...It became apparent while working on #1298 that options can have negative values. Specifically the ones with `OPT_INT[0-9]+_TYPE` as opposed to `OPT_UINT[0-9]+_TYPE`.
And it became apparent that we don't have any tests validating that the value is parsed correctly, without errors, etc.
Let's add some.backloghttps://gitlab.isc.org/isc-projects/kea/-/issues/739More metadata checks in MySQL CB unit tests2019-08-08T16:23:54ZFrancis DupontMore metadata checks in MySQL CB unit testsAs we already do in CB cmds hook add more metadata checks in MySQL CB unit tests (reference https://gitlab.isc.org/isc-projects/kea/merge_requests/424#note_68391)As we already do in CB cmds hook add more metadata checks in MySQL CB unit tests (reference https://gitlab.isc.org/isc-projects/kea/merge_requests/424#note_68391)outstandinghttps://gitlab.isc.org/isc-projects/kea/-/issues/541auto-generated config parsing tests are currently limited to "Dhcp4Parser*.*"2019-08-08T16:20:44ZThomas Markwalderauto-generated config parsing tests are currently limited to "Dhcp4Parser*.*"The following discussion from !254 should be addressed:
- [ ] @marcin started a [discussion](https://gitlab.isc.org/isc-projects/kea/merge_requests/254#note_48600): (+4 comments)
> Now that you trained me how to re-generate the un...The following discussion from !254 should be addressed:
- [ ] @marcin started a [discussion](https://gitlab.isc.org/isc-projects/kea/merge_requests/254#note_48600): (+4 comments)
> Now that you trained me how to re-generate the unit tests in get_config_unittests.cc I wonder if enabling this test that calls `extractConfig` should result in re-generating the tests?outstanding