Skip to content

[integration-tests] Limit Cascade queries to SOA/XFR#563

Merged
bal-e merged 1 commit intomainfrom
test-only-soa-xfr
Apr 7, 2026
Merged

[integration-tests] Limit Cascade queries to SOA/XFR#563
bal-e merged 1 commit intomainfrom
test-only-soa-xfr

Conversation

@bal-e
Copy link
Copy Markdown
Contributor

@bal-e bal-e commented Apr 1, 2026

Unblocks #552, by limiting queries to Cascade's servers to SOA and XFRs. Also makes some minor changes to other tests.


  • If you are changing Rust code or integration tests (Cargo.*, crates/, etc/, integration-tests/, src/):
    • Did you run the integration tests with act through the act-wrapper (as described in TESTING.md)?

@bal-e bal-e requested a review from tertsdiepraam April 1, 2026 14:37
@bal-e bal-e self-assigned this Apr 1, 2026
- name: Query zone
run: |
dig @127.0.0.1 -p 4542 example.test AXFR
dig @127.0.0.1 -p 4542 example.test AXFR > dig-query.log
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this for debugging?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It removes the output from act-wrapper's overall stdout, and puts it in a place that it will still get printed on failure. Just a minor improvement.

SOA_RR=$(dig +short @127.0.0.1 -p 4540 example.test SOA)
if [[ "${SOA_RR}" != "ns1.example.test. mail.example.test. 1 60 60 3600 5" ]]; then
echo "::error:: Expected SOA serial '1' but dig reports '${SOA_RR}'"
dig @127.0.0.1 -p 4540 example.test AXFR
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wouldn't expect this PR to add more dig commands?

cat "${{ inputs.cascade-dir }}/cascade-startup.log" >&2 || true
echo ">>> Logfile cascade.log:" >&2
cat "${{ inputs.cascade-dir }}//cascade.log" >&2 || true
cat "${{ inputs.cascade-dir }}/cascade.log" >&2 || true
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was this broken or is it just a slight improvement?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a slight improvement.

@bal-e bal-e merged commit 8c4dbe8 into main Apr 7, 2026
1 check passed
@bal-e bal-e deleted the test-only-soa-xfr branch April 7, 2026 07:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants