Commit Graph

35 Commits (e551231ec59bed6d3d757e2ff93a508649c8df6b)

Author SHA1 Message Date
dlorenc 0a5efe156c Don't look for DNS by name. It might be coredns or kubedns.
Signed-off-by: dlorenc <dlorenc@google.com>
2018-08-21 09:12:40 -07:00
dlorenc 6b4c545a0f Deflake the dashboard test.
This was a bit overkill.
2018-06-08 10:22:43 -07:00
kairen d7c90bc3e5 Fix integration test for Ingress 2018-05-08 11:27:26 +02:00
kairen 08f4677511 Change kubernetes-dashboard from RC to Deployment 2018-01-10 02:15:07 +08:00
kairen 06f52cfe3e Add integration test for ingress addon 2017-12-01 18:40:30 +08:00
ulyssessouza 63b7f8fe12 #1944 Avoid failing GetStatus on integration test when exit status != 0 2017-10-26 22:39:42 +02:00
Matt Rickard 9747484e9e Move k8s utils to pkg/util 2017-09-08 20:14:28 -07:00
Matt Rickard f966c8cf31 Add NewMinikubeRunner, separate start args
* Separate start args from args passed to every command.  This is so
that we can call `minikube logs` and `minikube status` with the proper
flags (for the bootstrapper)

* Add a NewMinikubeRunner function to make getting a minikube runner
easier.
2017-09-08 20:14:21 -07:00
Matt Rickard ac65b58363 Review feedback 2017-09-06 10:22:09 -07:00
Matt Rickard 6ac177fd7a Make MinikubeRunner implement CommandRunner
It is useful to be able to have a command runner to call directly in the
integration tests
2017-08-30 22:36:21 -07:00
Matt Rickard 211ebb8a69 Use kubernetes client in integration tests 2017-08-23 13:09:30 -07:00
dlorenc 0b5bd79d50 Refactor of retries in integration tests. 2017-08-23 10:19:11 -07:00
dlorenc c9bb006283 Add retries to GetPod calls. (#1420) 2017-04-26 16:53:41 -07:00
Matt Rickard 2e94d88e77 Use normal kubectl for integration tests
We were using an alpha v1.6 kubectl to run 1.5 and 1.6 branches of
minikube at the same time.  Since we've merged in 1.6, we will always
use 1.6 kubectl.  I've updated the slaves to have it.
2017-04-11 11:15:51 -07:00
Matt Rickard 09e8cce24d Merge pull request #1314 from r2d4/k8s-v1.6-rebase-1
Upgrade to k8s v1.6 as default version
2017-04-06 14:37:51 -07:00
Aaron Prindle 8e801e3975 Update mount implementation, add mount integration tests, and check that path exists. 2017-04-06 13:39:25 -07:00
Matt Rickard 3b46c27b16 Minikube changes for v1.6.0-alpha.1 2017-03-31 13:23:59 -07:00
Dongsu Park c58e5dd10f test: check stopped status repeatedly
In TestStartStop(), check for stopped status once in 5 seconds,
up to 30 seconds, instead of always sleeping for 30 seconds
before stopping it. That way we can reduce duration of the test.

To do that, we need to split out MinikubeRunner.CheckStatus() into
CheckStatusNoFail() that doesn't lead to T.Fatalf(). Other call sites
of CheckStatus() would not be then affected.
2017-02-10 20:27:54 +01:00
dlorenc 220a5ad840 Add a test for required packages. 2017-02-01 16:06:05 -08:00
dlorenc 22dcd7a7c9 Add a starter test for ISO permissions.
We can continue to add other tests to this file.
2017-01-31 08:31:53 -08:00
Aaron Prindle 0e3a3749a7 Fixing windows integration tests 2016-11-10 13:00:25 -08:00
Matt Rickard 05ea00cf3d Increase retries for persistence test, add logging 2016-10-25 13:39:17 -07:00
Matt Rickard 4cfca59c5c Add RetryableError for the Retry util
This way we can selectively retry the errors that are caused by some
temporary or ephemeral condition such as the pods not being up yet.
2016-10-13 13:53:38 -07:00
Aaron Prindle 6017e34d4d Fixed integration tests, adding test output to ssh mock, change help text to use multi-line string and
updated docs.
2016-09-08 13:13:15 -07:00
Jimmi Dyson 806a950437
Fix docker-env integration test 2016-07-26 09:21:45 +01:00
Dan Lorenc f738e2ca13 Make the PersistenceTest more robust. 2016-07-19 11:57:00 -07:00
dlorenc b18739dc14 Merge pull request #305 from dlorenc/env
Fix up the docker-env integration test.
2016-07-09 12:35:56 -07:00
dlorenc 735e8da305 Add an integration test for cluster persistence. 2016-07-09 11:08:47 -07:00
Dan Lorenc 0334d223d1 Fix up the docker-env integration test. 2016-07-09 11:05:14 -07:00
dlorenc 37ea2f0eea Add a "--minikube-args" flag to the integration tests.
This flag lets you pass arbitrary flags to minikube start. For now,
this is useful for testing different iso URLs and VM drivers.
2016-06-30 14:11:37 -07:00
aprindle 9821f71ca4 Added dns integration test 2016-06-03 09:40:43 -07:00
dlorenc 7102d75eb7 Add an integration test for the addon manager and dashboard. 2016-06-02 10:49:40 -07:00
aprindle 4098745500 Added ssh integration test and updated RunCommand in util.go 2016-06-01 15:26:17 -07:00
aprindle 5b67cb5c14 Added env command integration test 2016-05-31 16:48:27 -07:00
Dan Lorenc f0fdf425c3 Integration test to verify cluster components are healthy. 2016-05-14 09:54:47 -07:00