-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUGFIX] disable ip protocol fallback and tests #540
Conversation
* travisci skip ipv6 dns tests Signed-off-by: Thor <[email protected]>
prober/dns_test.go
Outdated
@@ -226,27 +230,23 @@ func TestAuthoritativeDNSResponse(t *testing.T) { | |||
}{ | |||
{ | |||
config.DNSProbe{ | |||
IPProtocol: "ipv4", | |||
QueryName: "example.com", | |||
QueryName: "example.com", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Leave these as v4 please.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
with fallback?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It doesn't matter either way.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thats the problem, on my notebook some test failures if there is no fallback and it try only ipv4
}, false, | ||
}, | ||
{ | ||
config.DNSProbe{ | ||
IPProtocol: "ipv4", | ||
QueryName: "example.com", | ||
IPProtocol: "ip4", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, are we missing a sanity check on the value of this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
jep, but please let somebody else do it ...
Signed-off-by: Martin/Geno <[email protected]>
fallbackIPProtocol
inchooseProtocol()
(prober/utils.go
) was never usedIPProtocol
during testingipv4
is a wrong value, it should beip4
orip6