Commit Graph

92 Commits

Author SHA1 Message Date
Chris O'Haver 08115ae6c5
skip endpoints tests >= 1.19 (#138)
Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
2020-11-16 13:51:15 -05:00
Chris O'Haver a55e2cd06c
Add e2e test for dns programming latency metric (#137)
* add e2e test for dns programming latency metric

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
2020-11-16 12:41:20 -05:00
Sandeep Rajan eeeffe138b
add test for checking readiness (#134)
Signed-off-by: Sandeep Rajan <srajan@infoblox.com>
2020-10-01 16:12:16 -04:00
Sandeep Rajan d076872db7
Fix and re-enable skipped tests (#129)
Signed-off-by: Sandeep Rajan <srajan@infoblox.com>
2020-09-30 15:32:37 -04:00
Miek Gieben 869c89530d Move to coredns/caddy
This makes the moves and adds a tiny bit of cleanups.

Signed-off-by: Miek Gieben <miek@miek.nl>
2020-07-21 10:12:45 +02:00
Sandeep Rajan eec62a1ca5
add max_concurrent option to configmap test (#130)
Signed-off-by: Sandeep Rajan <srajan@infoblox.com>
2020-06-29 10:46:46 -04:00
Sandeep Rajan 337717a27a
update deployment tests to remove federation support (#128)
Signed-off-by: Sandeep Rajan <srajan@infoblox.com>
2020-06-12 12:48:45 -04:00
Sandeep Rajan 3a45ced18b
update kind and k8s version to 1.18.2 (#126)
fix tests

fix dns yaml

Signed-off-by: Sandeep Rajan <srajan@infoblox.com>
2020-06-10 18:53:43 -04:00
Zou Nengren d5e3a3579f
remove upstream option, re-enable upstream test
Signed-off-by: zounengren <zounengren@cmss.chinamobile.com>
2020-04-09 10:41:59 -04:00
zounengren dd116b6671 remove federation test
Signed-off-by: zounengren <zounengren@cmss.chinamobile.com>
2020-03-30 17:44:16 +08:00
Antonio Ojea dd117fe676 Bump k8s DNS schema version to 1.1.0 (#122)
Update the test TestKubernetesA/dns-version.cluster.local._TXT
with the new schema version

Signed-off-by: Antonio Ojea <antonio.ojea.garcia@gmail.com>
2019-12-19 09:33:13 -05:00
Chris O'Haver 14c48ab1ba
adapt tests for removal of "pod" subdomain records (#121) 2019-12-18 14:03:43 -05:00
Sandeep Rajan 5e9257a16c change lameduck duration to 5s (#120)
Signed-off-by: Sandeep Rajan <srajan@infoblox.com>
2019-11-12 16:09:50 -05:00
Chris O'Haver 5716696f5e
separate tests (#119) 2019-11-07 13:18:12 -05:00
Chris O'Haver c20e4b41d8
mod to expect 1 replica (#118)
Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
2019-11-07 13:15:23 -05:00
Chris O'Haver 3e4eb4550f
check for nil response (#117)
Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
2019-11-07 12:35:48 -05:00
Sandeep Rajan 8beeeb4737 add lameduck to cm test (#116)
Signed-off-by: Sandeep Rajan <srajan@infoblox.com>
2019-10-31 15:42:28 -04:00
Chris O'Haver f79451a532
Transition from minikube to kind (#115)
* use kind

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>

* deploy coredns image to nodes

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>

* fix kind version and specify k8s node version

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>

* fix kind path

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>

* fix kubeconfig path

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>

* set KUBECONFIG in circleci env def

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>

* fix

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>

* add health/ready to a test; go back to k8s 1.15.3

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>

* add ready plugin to all in-cluster tests

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>

* disable liveness probe

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>

* wait for ready status, not running status

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>

* add health plugin to test cases

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>

* fix plugin order of expected corefile

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>

* skip minor tests that need to be refactored for kind env

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>

* more info on failure

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>

* fix expected corefile

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>

* fix expected corefile

Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
2019-09-10 11:17:22 -04:00
Chris O'Haver a96033db8e
proxy removed, use forward (#110) 2019-07-29 14:32:48 -04:00
Yong Tang 93a680247b Update Caddy's import path
See https://github.com/coredns/coredns/issues/2959

Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2019-07-03 00:34:53 +00:00
Sandeep Rajan fdfa89a58b Add CircleCI to repo (#107)
* initial stab with circleci

* make ci work

* use env var for project name

* use existing script and tweak it for circleci

* use full path for script

* delete unused code
2019-06-14 11:54:09 -04:00
Sandeep Rajan 490856d170 Fix translation for v1.5.0 (#106) 2019-04-26 10:53:22 -04:00
Sandeep Rajan 2cbf6bc2b9 cleanup kube-dns configmap (#105) 2019-04-11 10:35:02 -04:00
Sandeep Rajan a9fb6522a4 Add test to check connection to the apiserver (#104)
* add test to check connection to the apiserver

* inc timeout

* correct docker cmd

* nit

* inc timeout

* add additional checks
2019-04-08 16:33:13 -04:00
Chris O'Haver a872c08311
use forward (#102) 2019-03-12 17:32:59 -04:00
Sandeep Rajan 463c591521 remove upstream/loop tests (#101) 2019-03-11 11:50:01 -04:00
Sandeep Rajan cc28c5b6eb add multiple tries for getting logs (#97) 2019-02-27 11:19:28 -05:00
Sandeep Rajan 4aec19cfff Add metadata_edns0 test infra (#96)
* Edit Makefile to Build the coredns image
- include the metadata_edns0 external plugin
- add test case for metadata_edns0
2019-02-21 12:50:58 -05:00
Xuanwo 2549dc8a75 Move TempFile to plugin test (#90) 2019-01-28 09:55:50 -05:00
Sandeep Rajan 2d6939f625 move translation test from proxy to forward (#89) 2019-01-24 10:29:42 -05:00
Sandeep Rajan 5623642637 Fix the configmap translation test (#88) 2019-01-24 10:10:36 -05:00
Miek Gieben 1f9c763c24 New API from coredns
drop "testing" from the main binary; api change. Fix here.

Signed-off-by: Miek Gieben <miek@miek.nl>
2019-01-19 10:53:05 +00:00
Yong Tang 54a814a22e Fix api fallthrough test
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
2019-01-13 17:52:38 +00:00
Miek Gieben 4c05939fc2
Merge pull request #84 from coredns/upstream
Fix upstream test
2019-01-13 16:54:34 +00:00
Chris O'Haver acf89f5a16
make test ignore ttl (#86) 2019-01-08 18:29:37 -05:00
Miek Gieben e02380747c more tweaks
Signed-off-by: Miek Gieben <miek@miek.nl>
2019-01-05 16:56:56 +00:00
Miek Gieben 8438f65916 Fix upstream test
See https://github.com/coredns/coredns/pull/2436 for the CoreDNS
changes.

Signed-off-by: Miek Gieben <miek@miek.nl>
2019-01-05 16:40:08 +00:00
Bob b9f1b45713 [kubernetai][autopath] - Add test for multicluster setup (#81) 2018-12-17 08:57:55 -05:00
stuart nelson b90057cd22 Update address_test.go (#77)
* Update address_test.go

Update timeout for https://github.com/coredns/coredns/pull/2295

* Update address_test.go

Set correct MINIMUM value in expectation
2018-11-16 08:42:37 -05:00
Chris O'Haver 088ab6aa8c
test adjustments/fixes (#76)
* fix failed log output
* permit node api access
* disable minkube addon manager and default install coredns
* bump k8s version to 1.12
2018-11-14 10:45:21 -05:00
Chris O'Haver 3e6e7e303e
Add k8s federation test (#72)
* add federation labels to node

* add federation test

* fix zone/region in template
2018-10-22 16:45:37 -04:00
Chris O'Haver af0e5d6691
kubernetes: Add new objects test (#73) 2018-10-17 17:40:16 -04:00
Sandeep Rajan 8b5e4f01a0 tests for configmap translation 2018-08-21 15:42:59 -04:00
Chris O'Haver ac1890632b
Fail better for wrong record counts (#62)
* avoid nil ref
* additional debug on response count fail
* add wait for client pod A record
2018-07-17 11:04:07 -04:00
Chris O'Haver 71407fd739
avoid nil ref (#61) 2018-07-10 15:33:15 -04:00
Chris O'Haver a84a5bba1f
tolerate dups from template (#60) 2018-06-11 10:18:50 -04:00
Chris O'Haver e8114d3017
update urls (#59)
update k8s endpoint urls for ext-cluster tests
2018-06-06 13:52:53 -04:00
Chris O'Haver 3e86dd8a4b
DO NOT MERGE (#57)
Update minikube + k8s
2018-06-06 13:10:26 -04:00
Sandeep Rajan b93c598928 change label to kube-dns (#53)
Fix failures due to k8s-app label change
2018-04-12 10:59:48 -04:00
Chris O'Haver afe39d9100
kubernetes: upstream loop limit check (#46) 2018-02-16 08:48:07 -05:00