Skip to content

Conversation

@fabikova
Copy link
Contributor

Description

This PR implements the test scenarios defined in issue #811 to verify the new DNS Endpoint Provider functionality.

It validates the aggregation workflow where multiple "Source" DNSRecords (acting as endpoint feeders) merge their endpoints into a single central "Destination" DNSRecord (acting as a Zone), which then propagates the records to an upstream provider (e.g., AWS).

Scenarios covered:

  1. Creation of a Destination DNSRecord pointing to a real provider (AWS) with the required zone label.
  2. Creation of multiple Source DNSRecords pointing to the endpoint provider.
  3. Verification that source endpoints are correctly merged into the destination record by the operator.
  4. Verification that the merged records are successfully resolved via external DNS.

Closes #811

Changes

  • New Test: Added testsuite/tests/singlecluster/gateway/dnspolicy/dns_records/test_dns_endpoint_provider.py which implements the test cases specified in the issue.
  • Helper Methods: Updated DNSRecord class in testsuite/kuadrant/policy/dns.py with:
    • wait_for_endpoints_merged
    • wait_until_resolves

Signed-off-by: Martina Fabikova <mfabikov@redhat.com>
@fabikova fabikova force-pushed the feature/issue-811-dns-endpoint-provider-tests branch from ef5e5db to 25cd7db Compare December 16, 2025 12:18
@fabikova fabikova requested a review from averevki December 16, 2025 12:20
@fabikova fabikova self-assigned this Dec 16, 2025
@fabikova fabikova moved this to Ready For Review in Kuadrant Dec 16, 2025
Signed-off-by: Martina Fabikova <mfabikov@redhat.com>
@fabikova fabikova force-pushed the feature/issue-811-dns-endpoint-provider-tests branch from 1d9fab1 to a9ed4ad Compare January 20, 2026 14:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Ready For Review

Development

Successfully merging this pull request may close these issues.

Add tests for the dns endpoint provider

2 participants