tstromberg
90a6a1e430
Improve image filter
2019-12-19 12:54:05 -08:00
tstromberg
e9ee73ba17
Double timeouts, filter image list further
2019-12-18 15:14:10 -08:00
tstromberg
0ae29db951
Increase timeouts/offsets for more reliable integration testing
2019-12-18 14:53:46 -08:00
tstromberg
c0349fb9ad
Don't check image versions with the none driver (no crictl)
2019-12-10 17:53:04 -08:00
Thomas Stromberg
a1ddd283fe
Check errors, remove docker.io prefix used by crio
2019-12-10 14:28:40 -08:00
Thomas Stromberg
32e0732e15
Add integration test
2019-12-10 14:02:12 -08:00
Thomas Stromberg
850ee4bf62
Refactor wait code into WaitForStartSlot to avoid parallel conflation
2019-10-30 09:27:25 -07:00
Thomas Stromberg
b77490aba9
Remove trailing semicolon
2019-10-29 23:02:14 -07:00
Thomas Stromberg
9303f5dd2f
Correct bad merge
2019-10-29 22:42:15 -07:00
Thomas Stromberg
ecaf6ddb86
explicitly set --wait=true
2019-10-29 22:16:52 -07:00
Thomas Stromberg
279915a38d
Merge
2019-10-29 21:50:50 -07:00
tstromberg
f6bd4df15c
Address feedback
2019-10-29 14:21:53 -07:00
Thomas Stromberg
f34b51db65
default-ulimit should be an arg, not an environment var
2019-10-29 07:56:31 -07:00
Thomas Stromberg
205376fc6d
WIP: Consistently set 'ulimit -n' across runtimes
2019-10-28 22:31:57 -07:00
Thomas Stromberg
a0a5b685f9
Move delete --all test so that it is run in serial
2019-10-17 12:38:02 -07:00
Marek Schwarz
09ce93faf0
Added delete --all to common.sh
...
Run delete --all after start_stop_delete_test
2019-10-10 21:32:27 +02:00
Thomas Stromberg
fff8f5cbec
Offset integration tests which start clusters by 5s
2019-09-17 07:08:57 -07:00
tstromberg
027e2ea39b
Add more logging for test failures
2019-09-16 13:25:20 -07:00
Thomas Stromberg
9fa0453c73
Call fatalf if first start fails in start_stop_delete
2019-09-13 10:04:40 -07:00
Thomas Stromberg
625a4f8c05
Minor tuning of test log verbosity
2019-09-13 07:42:30 -07:00
Thomas Stromberg
340fe232df
Increase context timeouts for poorly behaved hosts
2019-09-12 17:06:59 -07:00
Thomas Stromberg
7c2801f565
Double context.WithTimeout durations for slower test machines
2019-09-11 15:20:19 -07:00
Thomas Stromberg
90608a3169
Refactor parallelized integration tests for clarity
2019-09-11 09:59:38 -07:00
Medya Gh
246f33f52b
Less Retry on minikube, new auto fail helpers MustStart,MustRun
2019-08-21 15:56:46 -07:00
Medya Gh
eef31403b4
Unified StartFail Logging, more t.Error and Added download only test,
2019-08-21 15:56:46 -07:00
Medya Gh
06d0e48156
move all RetryX to retry.Expo
2019-08-13 22:18:47 -07:00
Medya Gh
8763e6d692
Add integration test for kubeconfig current-context
2019-08-09 15:52:48 -07:00
Thomas Stromberg
32c405d44d
Fix way flags are being passed into crio test
2019-08-09 06:35:39 -07:00
Thomas Stromberg
d18978450c
Restore --disable-driver-mounts flag
2019-08-08 17:12:33 -07:00
Medya Gh
e6079dc358
final touch on parallel integration
2019-08-01 16:42:29 -07:00
Medya Gh
5a5bec97dc
detect profile name for all tests using profileName(t)
2019-08-01 12:44:41 -07:00
Medya Gh
59e6dc8f46
add more tear down and clean up
2019-08-01 00:31:38 -07:00
Medya Gh
270317b860
tweak
2019-07-31 23:05:43 -07:00
Medya Gh
4de8fe5aeb
making parallel optional
2019-07-31 22:50:04 -07:00
Medya Gh
14219e1967
fix minikube runner get status
2019-07-31 13:17:08 -07:00
Medya Gh
43751a4f4a
linting
2019-07-31 12:05:57 -07:00
Medya Gh
78e15577bd
log stderr added retriable command
2019-07-31 11:32:49 -07:00
Medya Gh
5fb29ebae7
refactor]
2019-07-30 16:36:53 -07:00
Medya Gh
aee599f011
add hostname friendly testnames, improve download-only test
2019-07-30 15:38:46 -07:00
Medya Gh
3926125c76
Create a new run group for start_stop_delete tests
2019-07-30 13:20:44 -07:00
Medya Gh
9ee922e286
Proxy tear down none
2019-07-30 10:46:46 -07:00
Medya Gh
ce27dba276
Added timeout for start
2019-07-30 10:45:52 -07:00
Medya Gh
e94da73884
Fix zombie defuncts by not waiting for tear down
2019-07-30 10:45:44 -07:00
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