Commit Graph

1123 Commits (d84f87b3f26b10a1500ac2a6216f711e9d4931fe)

Author SHA1 Message Date
dlorenc 4b7a59425b Temporarily disable the mount test. (#1424) 2017-04-28 09:51:45 -07:00
dlorenc 56b45d6488 Move the pod setup outside of the mount test loop. (#1423)
Deleting pods with HVs takes some time, so let's do that separately.
2017-04-27 12:50:04 -07:00
dlorenc c9bb006283 Add retries to GetPod calls. (#1420) 2017-04-26 16:53:41 -07:00
Aaron Prindle 41c5ba7663 Merge pull request #1350 from aaron-prindle/mount-vm-path
Changed mount syntax to be host-path:vm-path
2017-04-19 12:03:22 -07:00
Aaron Prindle b3ad7539b1 Changed mount syntax to be host-path:vm-path 2017-04-19 10:15:04 -07:00
Aaron Prindle 715ee87dc9 Merge pull request #1298 from aaron-prindle/no-network-wait
Removed dependency on localkube to wait for the network to be up
2017-04-12 09:10:49 -07:00
Aaron Prindle a11b47160f Removed dependency on localkube to wait for the network to be up 2017-04-12 08:38:14 -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
Mike Grass 82f6713cef Tell systemctl not to try to page output
This integration test was hanging on Windows because systemctl was paging the
(one line) output and waiting for stdin. Specify the `--no-pager` cmd to systemctl
to avoid this.
2017-04-07 12:39:21 -07:00
Mike Grass 11c2dbc8d2 Dump docker systemd config using systemctl
The TestDocker integration test shouldn't hard code the path to the systemd config for docker.service -- instead, it can use `systemctl show` to dump the configuration for the docker service.
2017-04-07 12:39:21 -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 4b94b14459 Merge pull request #1293 from aaron-prindle/switch-mount
Update mount implementation, add mount integration tests, and check t…
2017-04-06 14:33:22 -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
Aaron Prindle 6ca6a8993b Removed B2D start commands and also a reference of B2D in docker_test 2017-03-29 13:57:46 -07:00
Max Lavrenov ae153c6348 add --docker-opt parameter which passes flags to docker daemon 2017-03-20 23:39:55 +01:00
dlorenc b17a097c01 Add logging of the storageclass list. 2017-02-27 13:56:57 -08:00
Dan Lorenc 8fd8564acd Add an integration test for pvcs. 2017-02-27 13:43:19 -08:00
dlorenc fb910496a3 Add a test that the right directories are persisted. 2017-02-16 09:41:25 -08:00
Matt Rickard cee7653285 Retry error for addons kubectl cmd 2017-02-13 12:55:28 -08: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 e57170061a Merge pull request #1057 from dlorenc/isoperms
Add a starter test for ISO permissions.
2017-02-01 12:09:20 -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
Matt Rickard dfdbc6a768 Fixes from gometalinter 2017-01-30 15:39:35 -08:00
Aaron Prindle e9717abc78 Fixed Windows CI: now systemd integration test is skipped on Windows 2017-01-20 15:48:03 -08:00
Matt Rickard 52dc0a1c4f Add non-blocking test for systemd units
Integration test for failing systemd units.  Once we fix the hostname
service, we can make this a blocking test.
2017-01-12 14:02:23 -08:00
Dan Lorenc 855dcf37a1 Switch e2e tests to use glibc. 2017-01-07 16:37:44 -08:00
Aaron Prindle 8ebdafa3ce Working on adding localkube to minikube-iso. Have added check for which iso is running to support both isos. Added localkube restarting. 2016-12-13 11:15:57 -08:00
Dan Lorenc 35acd21cb1 Move some integration tests to the subtest framework, and run them in parallel. 2016-12-05 18:36:03 -08:00
Dan Lorenc ee2bfd3056 Add an integration test for service list. 2016-12-03 13:02:06 -08:00
Aaron Prindle 0e3a3749a7 Fixing windows integration tests 2016-11-10 13:00:25 -08:00
Matt Rickard ec02c3cbd8 Add linux KVM integration tests, wait in StartStop
The KVM driver has trouble starting and stopping immediately.  This
happens with docker-machine also.
2016-11-04 11:41:40 -07:00
Matt Rickard ec0acbb6ca Increase waiting time for integration tests
There have been flakes on the integration tests where the dashboard pod has been getting ready but the test does not wait long enough and fails.
2016-11-03 12:25:33 -07:00
dlorenc 8d1da576a0 Add an integration run with the new ISO. 2016-10-31 09:16:28 -07:00
Jimmi Dyson 09a28e16cc
Update dashboard integration test wrong port error message 2016-10-29 09:34:00 +01:00
Jimmi Dyson b64ad5c457
Add dashboard command integration test 2016-10-29 09:33:59 +01:00
Jimmi Dyson a8a22c0212
Fix vet printf errors 2016-10-29 09:29:45 +01:00
dlorenc d23a7a53a8 Add docker-env options to the buildroot provisioner. 2016-10-27 15:07:34 -07:00
Matt Rickard 05ea00cf3d Increase retries for persistence test, add logging 2016-10-25 13:39:17 -07:00
Matt Rickard d257fca5db Fix docker-env integration test
Make sure that --minikube-args are passed through to the start command
in our docker-env integration test
2016-10-18 14:52:06 -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
dlorenc 5bc27063ff Increase the pull timeout even more.
We're still seeing some flakes with 1 minute.
2016-07-21 10:36:21 -07:00
Dan Lorenc f738e2ca13 Make the PersistenceTest more robust. 2016-07-19 11:57:00 -07:00
Dan Lorenc c6b2649966 Add a flag to minikube start to allow passing environment variables to Docker. 2016-07-18 10:27:09 -07:00
dlorenc 783828e8ba Add an integration test to make sure the dashboard works after a restart. 2016-07-12 15:14:49 -07:00
Dan Lorenc 85ca802888 Switch the DNS test to use GCR instead of dockerhub. 2016-07-11 09:14:51 -07:00
Dan Lorenc 80ad525d39 Fix bad merge conflict. 2016-07-09 12:44:28 -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 1b446b896a Fix the addons_test to work with xhyve.
When you run with the xhyve driver, the addon-manager has a different
name.
2016-07-07 14:32:26 -07:00
dlorenc 9428c5a7a4 Increase the timeout on the addon manager pod. 2016-07-06 14:33:29 -07:00
dlorenc 7885c385d7 Fix addons integration test. 2016-07-06 09:24:48 -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
Subhas Dandapani a0d610df79 Fixed nodePort for dashboard #185 2016-06-21 19:20:33 +02:00
dlorenc 89c5d10b11 Switch more tests to EnsureRunning. 2016-06-06 11:41:27 -07:00
dlorenc 19e18b0237 Add a retry to the cluster_env test. 2016-06-06 11:40:13 -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
dlorenc f5d55d2ef5 Fix logging for cluster_env_test. 2016-06-01 17:21:05 -07:00
Dan Lorenc 94aca79782 Wait a few seconds for the cluster to become healthly. 2016-06-01 16:41:07 -07:00
aprindle 4098745500 Added ssh integration test and updated RunCommand in util.go 2016-06-01 15:26:17 -07:00
aprindle 44c3a6a126 Adding logs command integration tests 2016-06-01 09:05:07 -07:00
aprindle 5b67cb5c14 Added env command integration test 2016-05-31 16:48:27 -07:00
Lucas Käldström d4c23777ed Merge pull request #90 from dlorenc/race
Fix race condition in cluster setup.
2016-05-23 08:35:57 +03:00
Dan Lorenc 43f5851e6d Fix race condition in cluster setup.
We now explicitly generate certs before starting the cluster.
2016-05-22 14:21:10 -07:00
Dan Lorenc e6eb9b6dee Add a test for the new IP command. 2016-05-19 13:06:34 -07:00
Dan Lorenc f0fdf425c3 Integration test to verify cluster components are healthy. 2016-05-14 09:54:47 -07:00
Lucas Käldström b3cc4d2bae Fix integration default path 2016-05-05 16:47:36 +03:00
Lucas Käldström 6b2d1ed1cd Restructure the whole project, gofmt and improve the makefile 2016-05-05 16:38:23 +03:00