Commit Graph

29 Commits

Author SHA1 Message Date
Patrick Ohly
2f6c4f5eab e2e: use Ginkgo context
All code must use the context from Ginkgo when doing API calls or polling for a
change, otherwise the code would not return immediately when the test gets
aborted.
2022-12-16 20:14:04 +01:00
Roman Bednar
42b24b7baf move storage class helpers to utils 2022-08-02 20:52:04 +02:00
Davanum Srinivas
a9593d634c
Generate and format files
- Run hack/update-codegen.sh
- Run hack/update-generated-device-plugin.sh
- Run hack/update-generated-protobuf.sh
- Run hack/update-generated-runtime.sh
- Run hack/update-generated-swagger-docs.sh
- Run hack/update-openapi-spec.sh
- Run hack/update-gofmt.sh

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-07-26 13:14:05 -04:00
Dave Chen
857458cfa5 update ginkgo from v1 to v2 and gomega to 1.19.0
- update all the import statements
- run hack/pin-dependency.sh to change pinned dependency versions
- run hack/update-vendor.sh to update go.mod files and the vendor directory
- update the method signatures for custom reporters

Signed-off-by: Dave Chen <dave.chen@arm.com>
2022-07-08 10:44:46 +08:00
Kubernetes Prow Robot
a19f8776ce
Merge pull request #108789 from kidlj/fix_pkg_name_mismatches
e2e/cleanup: fix package name and dir name mismatches
2022-05-03 18:23:55 -07:00
Fabio Bertinatto
dafa0e178d Fix volume creation and deletion of Azure File tests 2022-03-25 08:56:56 -03:00
Fabio Bertinatto
b5cff9219d Add storage tests for Azure File in-tree storage plugin 2022-03-25 08:56:56 -03:00
Jian Li
c55658cd9f e2e/cleanup: fix package name and dir name mismatches 2022-03-18 11:41:27 +08:00
justinsb
5a3671e57b e2e tests: log zone when creating volume
Given the test failures we are encountering with zones, add the zone
to the log message when creating a zonal PV.
2021-12-04 13:08:11 -05:00
David Eads
c8f87a6a24 retry PV create in e2e-test on API quota failure 2021-10-26 09:47:16 -04:00
Mauricio Poppe
5d9053014e Update tests to use common pod functions from framework/pod/utils.go 2021-03-11 07:25:56 +00:00
Fabio Bertinatto
c82626f96f e2e: use custom timeouts in all storage E2E tests 2020-12-02 15:57:58 -03:00
Fabio Bertinatto
3ec93da1b5 e2e: add custom timeouts to E2E framework 2020-12-02 15:57:58 -03:00
shahra
e95af138b5 Volume snapshot e2e test to validate
VolumeSnapshotContent and PVC finalizer
2020-11-04 14:08:24 -08:00
Jan Safranek
6a83a39ae6 Fix Poll variable name
Parameter names should start with lowercase
2020-08-11 11:14:15 +02:00
Jan Safranek
d3503a2881 Fix waiting for PVCs to get Bound
When Get() returns error, the loop should not return with nil. Make sure
that the faulty Get() marks phaseFoundInAllClaims as not satisfied.
2020-08-11 11:14:15 +02:00
tanjunchen
9b9b27d768 test/e2e/framework /service and /pv:remove direct dependency to k8s.io/kubernetes/pkg/ 2020-03-27 01:11:13 +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
Andrew Sy Kim
d4d3f3dda8 e2e/framework: copied constants for default storage class annotations should be unexported
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2020-03-17 16:40:23 -04:00
Andrew Sy Kim
60cb0d3cc1 e2e/framework: remove direct import to pkg/apis/v1/storage/util
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2020-03-17 16:07:42 -04:00
Mike Danese
c58e69ec79 automated refactor 2020-03-05 14:59:46 -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
YuikoTakada
e98f4f3ef8 Use e2eskipper package in test/e2e/framework/ 2020-01-20 06:34:07 +00:00
Kubernetes Prow Robot
bcff8bf3aa
Merge pull request #86283 from haosdent/clean-e2e-framework-pv
e2e: move funs of framework/pv to e2e/storage
2019-12-26 21:17:39 -08:00
danielqsj
fc738cbb1d unify alias of api errors under test 2019-12-26 16:40:45 +08:00
Haosdent Huang
dbc9929012 e2e: move funs of framework/pv to e2e/storage 2019-12-25 20:39:09 +08:00
SataQiu
4325e8a452 e2e: use log functions of core framework on pv, testfiles and volume sub packages 2019-11-27 14:18:18 +08: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