Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Confusion between multiple TXT records and TXT records longer than 255 bytes for the test plugin #7404

@micheelengronne

Description

@micheelengronne

What happened:

When testing multiple TXT records, the test plugin asserts wrongly the records after the first one on the value of the first one.

What you expected to happen:

TXT records are correctly asserted.

How to reproduce it (as minimally and precisely as possible):

Check k8s-gateway/k8s_gateway#108

Anything else we need to know?:

There seem to be a loop in https://github.com/coredns/coredns/blob/master/plugin/test/helpers.go#L209 that does not distinguish between 2 different TXT records and a TXT record split because it is longer than 255 bytes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions