Commit Graph

109 Commits (bcc186b908499e18f9aae3afdf720477a734438e)

Author SHA1 Message Date
Medya Gh 4728165354 Add run group for defer paralell 2019-07-30 10:45:44 -07:00
Medya Gh ff747089cc add minikube delete to all tests at the end 2019-07-30 10:45:22 -07:00
Medya Gh dabd0c41d4 get profile names automaticly from test names 2019-07-30 10:45:05 -07:00
Medya Gh 050c7aedb3 add new helper for minikube runner fix proxy test
merge upstream commons
2019-07-30 10:44:21 -07:00
Medya Gh e3db9a41ba decouple isNoneDriver from minikube driver for more reusability 2019-07-30 10:43:47 -07:00
Medya Gh 9b3f72024a list vms after clean up 2019-07-30 10:42:55 -07:00
Medya Gh c6c84ab835 Add profile to test start stop 2019-07-30 10:42:42 -07:00
Medya Gh ab28a3ced1 # This is a combination of 5 commits.
# This is the 1st commit message:

organize integration tests files by type

# This is the commit message #2:

Adding separate profile for each kind of test

# This is the commit message #3:

Adding clean up to delete newly added TestVms

# This is the commit message #4:

goimport

# This is the commit message #5:

making them run in parallel
2019-07-30 10:40:38 -07:00
Medya Gh d47d51d8ab Adding optional set kubecontext 2019-07-30 10:40:25 -07:00
Medya Gh d1a41e0015 Added default profile 2019-07-30 10:40:11 -07:00
Medya Gh a3eeb9e083 removing unused functions 2019-07-30 10:40:10 -07:00
Medya Gh aeaa5733f8 consistant naming for kubectl runner 2019-07-30 09:53:32 -07:00
Medya Gh 673b82a157 consistant naming for all minikube runners 2019-07-30 09:53:32 -07:00
Jose Donizetti fe00076341
Revert "Fix flag.Parse error logging" 2019-07-25 23:03:04 -03:00
josedonizetti 6ccf62096e Add initflag to test binary 2019-07-25 14:37:37 -03:00
Jose Donizetti 9dfe660c64 Add support to custom qemu uri on kvm2 driver 2019-06-28 14:12:58 -07:00
josedonizetti c7bace6903 Fix --kvm-network integration test 2019-05-23 02:30:21 -03:00
josedonizetti a20d789613 Improve --kvm-network integration test
Change the network to test-net to avoid conflicts.
2019-05-22 18:03:15 -03:00
josedonizetti 5d02839e74 Add integration test to flag --kvm-network 2019-05-22 17:25:42 -03:00
Jan Janik 21b9e95647 Whitelist for kubeadm extra args 2019-05-17 17:11:03 +12:00
Jan Janik 6fe47f3677 Expose ‘—pod-network-cidr’ argument in minikube 2019-05-17 16:59:06 +12:00
Himanshu Pandey 64f990cec1 Updated the test case 2019-05-07 13:58:33 -07:00
Himanshu Pandey e23a78489c Added a param in the test case to find the current-context after stop 2019-05-03 16:18:36 -07:00
Himanshu Pandey dd8d3cf900 minor code change: Added strings.TrimRight() 2019-05-03 14:12:11 -07:00
Himanshu Pandey fd7277ba4d Changed the error message style in test case. 2019-05-02 12:17:33 -07:00
Himanshu Pandey a533b5653f Fixed the test case 2019-05-02 09:47:08 -07:00
Himanshu Pandey a4018bfa72 Fixed the build error and formatting 2019-05-02 09:04:08 -07:00
Himanshu Pandey fb0127f352 Fixed gofmt errors 2019-04-30 16:24:30 -07:00
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