Antonio Ojea
fe5eda9a23
increase pod start timeout for storage tests
2021-02-22 20:51:32 +01:00
10177505
0e0e5a09e3
fix Geting -> Getting
2021-01-26 20:17:34 +08:00
pacoxu
f970b2bd41
remove dup key in test
...
Signed-off-by: pacoxu <paco.xu@daocloud.io>
2020-12-09 13:16:16 +08:00
Fabio Bertinatto
c82626f96f
e2e: use custom timeouts in all storage E2E tests
2020-12-02 15:57:58 -03:00
Tomas Smetana
75574401e7
Add e2e test for the newPV Controller metric
2020-10-26 13:05:06 +01:00
Kenichi Omichi
176c8e219f
Avoid DeprecatedMightBeMasterNode() in e2e metrics
...
As its name, DeprecatedMightBeMasterNode is deprecated.
In e2e metrics, the function was used for knowing master node name to
get metrics from kube-scheduler and kube-controller-manager pods.
This make e2e metrics get these metrics directly by getting those pod
names without calling DeprecatedMightBeMasterNode().
2020-06-25 23:08:24 +00:00
lixiaobing1
2d66e7ecd3
another:Replace framework.Failf with ExpectNoError
2020-06-05 16:43:22 +08:00
drfish
dfab6b637f
Update .import-aliases for e2e test framework
2020-03-25 11:40:02 +08:00
Kenichi Omichi
2158989d6f
Move WaitForPersistentVolumeDeleted() to e2epv
...
The function is for persistent volumes and it doesn't have any
reason why it stays in core test framework. So this moves the
function into e2epv package for reducing e2e/framework/util.go
code.
2020-03-24 22:54:07 +00:00
Mike Danese
c58e69ec79
automated refactor
2020-03-05 14:59:46 -08:00
Kubernetes Prow Robot
c5d75749c8
Merge pull request #85029 from serathius/remove-prometheus-test-e2e
...
Remove references to prometheus is test/e2e
2020-02-09 01:27:52 -08:00
Mike Danese
25651408ae
generated: run refactor
2020-02-08 12:30:21 -05:00
Mike Danese
3aa59f7f30
generated: run refactor
2020-02-07 18:16:47 -08:00
Marek Siarkowicz
30989b648d
Remove references to prometheus is test/e2e
2020-02-05 15:54:36 +01:00
Kubernetes Prow Robot
14ed35712c
Merge pull request #87168 from misterikkit/timout-err
...
storage e2e: Add context to timeout errors
2020-01-15 01:22:32 -08:00
Jonathan Basseri
99a015705b
storage e2e: Add context to timeout errors
...
Many times an e2e test fails with an unexpected error,
"timed out waiting for the condition".
Useful information may be in the test logs, but debugging e2e test
failures will be much faster if we add context to errors when they
happen.
This change makes sure we add context to all errors returned from
helpers like wait.Poll().
2020-01-14 11:45:38 -08:00
yuxiaobo
73fb0ab5ec
test/e2e/storage:Use e2eskipper package
...
Signed-off-by: yuxiaobo <yuxiaobogo@163.com>
2020-01-13 14:04:10 +08:00
SataQiu
27d645dc5b
fix staticcheck failures of test/e2e/storage
2019-12-07 21:32:11 +08:00
tanjunchen
9eda99793d
use ExpectEqual of framework in test/e2e/storage
2019-12-03 17:41:49 +08:00
Hemant Kumar
59274b56af
Use plugin name for filtering metrics
2019-11-25 23:05:09 -05:00
Marek Siarkowicz
09329b5bbc
Remove prometheus references in test/integration
...
This PR does minimal changes to interface to allow removing all
references to prometheus from `test` directory. In future I would expect
wrapping prometheus samples to provide better abstraction. Changes:
Move generic_metrics.go to testutil/metrics.go
Remove etcd.go as it was not called
Move prometheus label consts to testutil.
2019-10-28 11:40:32 +01:00
WanLinghao
a6f5d99409
Refactor and clean up e2e framework utils. This patch handles test/e2e/framework/pv_util.go file
2019-09-18 17:57:13 +08:00
carlory
910bd000ff
use log functions of core framework in the 'test/e2e/storage/*'
2019-09-06 10:26:16 +08:00
alejandrox1
7c161d6a5f
Refactoring pod related functions from pv_util to pod pkg
...
Moving pod related functions from e2e/framework/pv_util.go to
e2e/framework/pod in order to allow refactoring of pv_util.go into its
own package.
Signed-off-by: alejandrox1 <alarcj137@gmail.com>
2019-08-27 12:27:45 -04:00
David Zhu
e194cf24cc
Dedupe all Make PVC API object functions into the one MakePersistentVolumeClaim to rule them all
2019-07-23 12:59:00 -07:00
Ben Parees
0feca84ea5
fix parameterization of test error message
2019-07-18 18:28:59 -04:00
draveness
d3158b2c71
feat: use framework.ExpectNotEqual in e2e test
2019-07-10 21:36:26 +08:00
draveness
4c2e77a53e
feat: use framework.ExpectEqual in storage e2e test
2019-07-04 22:24:29 +08:00
SataQiu
332be4b1e3
refactor: replace framework.Failf with e2elog.Failf
2019-06-19 17:52:35 +08:00
Jorge Alarcon Ochoa
4969a05327
Refactored pod-related functions from framework/util.go
...
This a refactoring of framework/utils.go into framework/pod.
Signed-off-by: Jorge Alarcon Ochoa <alarcj137@gmail.com>
2019-05-30 09:30:26 -04:00
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