danielqsj
629ec7e113
replace test error checking with more readable way
2019-05-10 13:58:09 +08:00
danielqsj
1058877fbf
remove dot imports in e2e/storage
2019-05-10 13:56:26 +08:00
John Schnake
a6f5ebf831
Move storage tests to use the framework/log package
...
This is part of the transition to using framework/log instead
of the Logf inside the framework package. This will help with
import size/cycles when importing the framework or subpackages.
2019-05-04 12:50:38 -05:00
Hemant Kumar
6fee8a7727
Skip pvc protection tests if no default SC is found
...
Other tests that check for default storageclass also
check for cloudprovider such as gce, aws and openstack
and hence are already skipped in bare metal environments.
But this particular test keeps failing because no such check exists.
2019-04-22 14:51:04 -04:00
Michelle Au
db472c87a7
Add e2e tests
2019-04-03 12:03:26 -07:00
Kenichi Omichi
542b07cd6a
Use framework.ExpectNoError() for e2e/storage
...
The e2e test framework has ExpectNoError() for readable test code.
This replaces Expect(err).NotTo(HaveOccurred()) with it for e2e/storage.
2019-04-02 16:20:35 +00:00
Kenichi Omichi
89f6f1d0cc
Fix golint failures under e2e/framework/metrics
2019-02-13 18:07:16 +00:00
Masaki Kimura
4fcb36e205
Move minimum set of dynamic provisioning e2e test to testsuites
2018-10-22 16:04:43 +00:00
Fabio Bertinatto
4ce2058ef6
Add more metrics for A/D Controller:
...
* Number of Volumes in ActualStateofWorld and DesiredStateofWorld
* Numer of times A/D Controller performs force detach
2018-08-15 10:01:57 +02:00
Fabio Bertinatto
376a94e039
Add more metrics for Volume Manager
...
Specifically:
* Number of volumes in ActualStateofWorld and DesiredStateofWorld
* Number of times ReconstructVolume Spec on kubelet failed
2018-08-13 17:36:36 +02:00
Fabio Bertinatto
a15cc29442
Add extra metrics for PV Controller
...
Specifically:
* Total provision time
* Total PV deletion time
* Number of times PV provisioning failed
* Number of times PV deletion failed
2018-07-19 15:36:37 +02:00
mlmhl
dcbd1ae3cf
wait for bound pvc metric updated before validating
2018-02-16 09:57:30 +08:00
mlmhl
6d52cda692
add e2e test for bound/unbound pv/pvc count metrics
2018-02-14 17:33:34 +08:00
Hemant Kumar
f94a81ef19
Revert "add number measurement for bound/unbound pv/pvc"
2018-02-07 21:31:01 -05:00
mlmhl
229833f2f4
add e2e test for bound/unbound pv/pvc count metrics
2018-01-24 14:36:47 +08:00
Rohit Jog
015e20cb15
e2e test layout changes for vsphere ( #398 )
2017-12-18 10:19:18 -08:00
Balu Dontu
0b3e28c883
vSphere scale tests
2017-11-07 15:33:27 -08:00
Hemant Kumar
83717f5286
Fix detach metric flake by not using exact equals
...
Also poll for detach value increase.
2017-10-22 22:05:36 -04:00
Hemant Kumar
6f0c98bed8
Fix flake for volume detach metrics
2017-10-11 09:45:06 -04:00
Vaibhav Kamra
efdae2060f
Address review comments
2017-09-27 19:36:04 -07:00
Vaibhav Kamra
c0d9bdaf5e
Improve PVC ref volume metric test robustness
...
This test has been flaking. The current working theory is that
volume stats collection didn't run in time to grab the metrics
from the newly created pod.
Made the following changes:
- Added more logs to help debug future failures
- Poll metrics a few additional times before failing the test
2017-09-27 17:58:34 -07:00
Michelle Au
27eab0c97f
Allow kubelet metrics tests to run on gke
2017-09-26 10:00:12 -07:00
Hemant Kumar
381e334d87
Fix volume metric flake
...
Make sure we only run this test in environments
that support it.
2017-09-22 16:30:11 -04:00
Vaibhav Kamra
b3ced98aa5
Address review comment
...
Removed defer, removed error slice
2017-09-21 14:38:13 -07:00
Vaibhav Kamra
41dabd7918
Address review comments
2017-09-21 13:54:40 -07:00
Vaibhav Kamra
1d6a701e76
Add e2e test to verify PVC metrics
...
Adds an e2e test for kubernetes/features#363
2017-09-21 01:10:22 -07:00
Hemant Kumar
6d4578ad57
Add e2e test for volume metrics
...
Adding e2e test for volume metrics. These tests need to be run
2017-09-20 18:23:05 -04:00