Skip to content

Commit 76b9e42

Browse files
committed
Follow on updates for PostGIS kuttl test
This commit adds a timeout flag to the test example and corrects the cleanup directory paths for the generated E2E tests.
1 parent bbe528d commit 76b9e42

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -257,8 +257,8 @@ check-generate: generate-crd generate-deepcopy generate-rbac
257257
clean: clean-deprecated
258258
rm -f bin/postgres-operator
259259
rm -f config/rbac/role.yaml
260-
[ ! -d testing/kuttl/generated ] || rm -r testing/kuttl/e2e-generated
261-
[ ! -d testing/kuttl/generated-other ] || rm -r testing/kuttl/e2e-generated-other
260+
[ ! -d testing/kuttl/e2e-generated ] || rm -r testing/kuttl/e2e-generated
261+
[ ! -d testing/kuttl/e2e-generated-other ] || rm -r testing/kuttl/e2e-generated-other
262262
[ ! -d build/crd/generated ] || rm -r build/crd/generated
263263
[ ! -d hack/tools/envtest ] || rm -r hack/tools/envtest
264264
[ ! -n "$$(ls hack/tools)" ] || rm hack/tools/*

testing/kuttl/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ github; our CI runner will generate and test the files from scratch.)
8080
Please note, `make check-kuttl` does not run the `e2e-other` tests. To run the `postgis-cluster`
8181
test, you can use:
8282

83-
`kubectl kuttl test testing/kuttl/e2e-generated-other/ --test postgis-cluster`
83+
`kubectl kuttl test testing/kuttl/e2e-generated-other/ --timeout=180 --test postgis-cluster`
8484

8585
To run the `gssapi` test, please see testing/kuttl/e2e-other/gssapi/README.md.
8686

0 commit comments

Comments
 (0)