Bats#2872
Conversation
|
Tests are expected to fail until we use a new base image. Reason is that we only install the helper libraries in |
|
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
|
Conflicts have been resolved. |
So you have some examples? |
|
|
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
|
Conflicts have been resolved. |
|
All CI builds failing: The full first BATS suit isn't running at all -> no queries are generated -> python tests then fail the assertion as logical consequence. |
|
This is 100% expected. From my comment above
Needs pi-hole/docker-base-images#156 and a fresh base image tagged. |
|
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
@yubiuser v2.19 base image tagged ready for use here once built. https://github.com/pi-hole/docker-base-images/actions/runs/27511406650 |
Signed-off-by: yubiuser <github@yubiuser.dev>
Signed-off-by: yubiuser <github@yubiuser.dev>
Signed-off-by: yubiuser <github@yubiuser.dev>
Signed-off-by: yubiuser <github@yubiuser.dev>
Signed-off-by: yubiuser <github@yubiuser.dev>
Signed-off-by: yubiuser <github@yubiuser.dev>
Signed-off-by: yubiuser <github@yubiuser.dev>
|
Conflicts have been resolved. |
|
Tests pass now. Ready for review. |
DL6ER
left a comment
There was a problem hiding this comment.
Seems clean and is definitely a nice readability win. The on_failure hook is also strictly better than the existing unconditional debug output. I will take the work on #2880 to fix it. This PR has been pushed back long enough.
Just a small comment: I had to rebuild my devcontainer for the tests to pass. I might have done that too fast, though, I cannot reconstruct the exact cause for the previous failure now. Everything is also passing locally for me now.
What does this PR aim to accomplish?:
printf "count: %s\n" "${lines[@]}"calls which are used for debugging in case the test fails - replaced with the properbats::on_failure()hookThis will need pi-hole/docker-base-images#156 and a new tag of the base image.
By submitting this pull request, I confirm the following:
git rebase)