Commit Graph

31 Commits (c8af727416bb1ab9f066a87d86f0bc781877740a)

Author SHA1 Message Date
Himanshu Pandey c8af727416 Added tests to check current-context on start and stop of minikube 2019-04-30 15:32:40 -07:00
Benn Linger b7ffe5b7c2 Combined non-default apiserver port test with containerd test 2019-04-05 18:36:35 -04:00
Benn Linger d102550644 Fixed status checking with non-default apiserver-port. 2019-04-04 21:43:43 -04:00
Thomas Stromberg 614f19b486 Add CNI flags to feature_gates_newest 2019-03-26 20:26:47 -07:00
Thomas Stromberg 9004134eb8 Fix invalid feature-gates argument 2019-03-25 21:02:44 -07:00
Thomas Stromberg 9f753c3027 Fix all the kubeadm config generation bugs I could find, add tests across versions 2019-03-25 18:25:01 -07:00
Marcos Diez 8aec728a86 start_stop_delete_test.go now tests for "--extra-config kubeadm.ignore-preflight-errors=SystemVerification" too 2019-03-21 09:11:55 -03:00
Thomas Stromberg 02a06a8da6 Second Start call should also pass in the new test.args list 2019-03-06 15:50:57 -08:00
Thomas Stromberg e09133892f Fix docker/containerd caching, improve msgs, add tests 2019-02-27 13:58:33 -08:00
Thomas Stromberg 61d0516bba Fix TestStartStop so that none tests are executed 2019-02-14 20:26:24 -08:00
Thomas Stromberg 966b245dc6 Refactor and centralize container runtime code into a cruntime package 2019-02-05 14:42:12 -08:00
Thomas Stromberg 9e0119b8e2 Add --network-plugin=cni as per afbjorklund's comment 2019-01-18 15:03:05 -08:00
Thomas Stromberg d499497056 Add CRIO flags support to MinikubeRunner.Start() 2019-01-17 10:57:54 -08:00
Thomas Stromberg 218cf179dd Fix T->t typo 2019-01-16 16:20:23 -08:00
Thomas Stromberg f2c7860eab Add CRI-O to TestStartStop 2019-01-16 15:13:20 -08:00
priyawadhwa 034046e931 Add integration test to make sure minikube starts and stops with cont… (#3394)
* Add integration test to make sure minikube starts and stops with containerd
* Skip testing containerd if using none driver
2018-12-05 10:23:36 -08:00
Thomas Stromberg 8540e3a038 Consistently use %v for formatting error messages. 2018-09-28 16:18:22 -07:00
Yongkun Anfernee Gui c07258b45a Fix more permissions 2018-02-09 14:32:53 -08:00
ulyssessouza c208e9088a #1944 Disable Report error prompt before running start/stop integration tests 2017-10-27 01:12:00 +02: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
dlorenc 0b5bd79d50 Refactor of retries in integration tests. 2017-08-23 10:19:11 -07:00
Matt Rickard c7247b9b17 Remove 30 second wait from start stop
I removed this awhile ago, but I'm not sure how it snuck back in.
The original issue was that the VM was getting a new IP, but the driver
was parsing the leases file and still picking the old IP.  So the only
way to fix it was to wait for the old lease to expire.
2017-08-21 21:39:55 -07:00
Aaron Prindle 88613090a9 Added none driver 2017-05-19 14:51:19 -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
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
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
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
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