Commit Graph

68 Commits (69f58ad04a6af4e5a7463a5998f54cdb991310c9)

Author SHA1 Message Date
Sean Chittenden 53380f8e92 Change tests to accept an "at least this many" answers semantic
9 years ago
Sean Chittenden 7a7063c072 Fix tests
9 years ago
Sean Chittenden 5ba7e74bb8 Use table-driven test for response limits
9 years ago
Sean Chittenden 0cb965f901 Remove duplicate paste-o
9 years ago
Sean Chittenden ce88cde7b0 Test services and PQT limits
9 years ago
Sean Chittenden e1e441fdee Improve the use of constants across DNS tests
9 years ago
Sean Chittenden 9fb64ab114 Allow adjusting the number of DNS records in a response...
9 years ago
James Phillips 5c80647e34 Tweaks algorithm so it's safe with an empty list and adds a PQ test.
9 years ago
Igor Dubinskiy 3a25860270 Make sure UDP DNS responses aren't larger than allowed
9 years ago
James Phillips 607728ddca Adds a test to make sure we get the local address within the DC.
9 years ago
James Phillips c60a526fde Sets up config for more address tags down the road, renames struct members.
9 years ago
Evan Gilman de8fd561d0 Use a map for additional node addresses
9 years ago
Evan Gilman 2f26771bb1 Add tests for consul WAN translation
9 years ago
James Phillips cd6be4a88d Avoids taking the length again when parsing DNS queries.
9 years ago
James Phillips 4715c04c98 Adds a test to make sure a stale retry terminates.
9 years ago
James Phillips e9480ecb02 Plumbs the service name back and uses agent-specific TTL settings as a fallback.
9 years ago
James Phillips 81b43135f9 Adds unit tests for prepared queries and DNS, using existing tests for equivalence.
9 years ago
James Phillips 98731f7272 Fixes unit test fail due to expected truncated message.
9 years ago
Wim 0bc4d9322e Allow AAAA queries for nodeLookup
9 years ago
Wim 2701bb5cc2 No NXDOMAIN when the answer is empty
9 years ago
Wim 4a1dc90cba Limit the DNS responses after getting the NodeRecords
9 years ago
Wim 369982270d Return SOA/not found when the answer is empty
9 years ago
Ryan Breen 0a7dc85076 Test for GH-1142.
9 years ago
Ryan Uber 1bbdf3b03b agent: vet fixes
10 years ago
Wim 3b1bcaea98 Send SOA with negative responses
10 years ago
Ryan Uber f7f7c4695e agent: testing dns when acls are in use
10 years ago
Armon Dadgar 27a820d611 agent: Adding test for DNS enable_truncate
10 years ago
Ryan Uber c9fd3eb469 agent: re-work DNS tests to not rely on the external network
10 years ago
Ryan Uber 6f0b1a3b46 agent: Add test for CNAME recursion
10 years ago
Ryan Uber deec3bef9e agent: fix dns test
10 years ago
Matt Good 062e4f94c0 Remove unnecessary DNS test entry
10 years ago
Ryan Uber 67190e6f68 agent: more lenient dns response test
10 years ago
Armon Dadgar aedaf7a7c8 Merge pull request #595 from ebroder/dns-only-passing
10 years ago
Evan Broder a0228a64e2 Add more thorough testing for only_passing behavior
10 years ago
Ryan Uber b2fbaea18c agent: make dns randomization test more reliable
10 years ago
Armon Dadgar 77a3bfd606 agent: Adding test for DNS lookup with service address
10 years ago
Armon Dadgar f2e1065246 agent: Testing reverse lookup with custom TLD
10 years ago
lalyos 8f04401648 agent: implementing reverse dns lookup for ipv4 and ipv6
10 years ago
foostan 35b006d884 Add multiple recursor definition support
10 years ago
Armon Dadgar e86c5b2627 agent: Address overrides. Fixes #301 and #253
10 years ago
Gavin M. Roy 6000f6977d Add RFC-2782 style SRV lookups
10 years ago
William Tisäter 0d71b97f8e Remove DC case-insensitive check from node test
11 years ago
William Tisäter e0ba9a48a7 Test DNS case-insensitivity
11 years ago
Armon Dadgar 6eb3e8ee30 agent: Fixing issue with excessive failed node filtering
11 years ago
Armon Dadgar e6a8cfbfc1 agent: Testing DNS TTLs
11 years ago
Armon Dadgar 3b3d235880 agent: Support stale queries with retries
11 years ago
Armon Dadgar 14be60aaca gofmt
11 years ago
William Tisäter 78145ecfd5 Require datacenter argument for `WaitForLeader`
11 years ago
William Tisäter 93c7103bb5 Move `WaitForLeader` calls to top of test
11 years ago
William Tisäter c8168bd8fe Drop client arguments from `WaitForLeader`
11 years ago