kubernetes/pkg/controller
Jan Safranek 045ca75c03 Deflake PV metrics unit test
Test 5-7 tries to delete a PVC at the very same time when it detects that
the PV controller started processing the PVC. The controller then sometimes
can't update the PVC and generate an event for it that the test expects.

From PV controller logs (not shown in CI):
> I1221 14:36:34.548160  104481 pv_controller.go:815] updating PersistentVolumeClaim[default/claim5-7] status: set phase Lost failed: cannot update claim claim5-7: claim not found

Typical error in CI:
> FAIL: TestControllerSync (83.22s)
> framework_test.go:202: Event "Warning ClaimLost" not emitted

Therefore wait for the PVC to be fully processed before deleting the PVC to
avoid races.
2021-12-21 15:36:44 +01:00
..
apis/config Check in OWNERS modified by update-yamlfmt.sh 2021-12-09 21:31:26 -05:00
bootstrap Merge pull request #105510 from damemi/wire-contexts-bootstrap 2021-11-02 14:27:42 -07:00
certificates Check in OWNERS modified by update-yamlfmt.sh 2021-12-09 21:31:26 -05:00
clusterroleaggregation Wire contexts to RBAC controllers 2021-10-07 15:04:49 -04:00
cronjob Merge pull request #104799 from RyanAoh/cronjob_dev 2021-12-17 13:23:53 -08:00
daemon Check in OWNERS modified by update-yamlfmt.sh 2021-12-09 21:31:26 -05:00
deployment Check in OWNERS modified by update-yamlfmt.sh 2021-12-09 21:31:26 -05:00
disruption Check in OWNERS modified by update-yamlfmt.sh 2021-12-09 21:31:26 -05:00
endpoint Check in OWNERS modified by update-yamlfmt.sh 2021-12-09 21:31:26 -05:00
endpointslice Improving performance of EndpointSlice controller metrics cache 2021-12-20 10:26:47 -08:00
endpointslicemirroring Check in OWNERS modified by update-yamlfmt.sh 2021-12-09 21:31:26 -05:00
garbagecollector Merge pull request #106950 from sunzhaochang/fix-unexpected-end-test 2021-12-14 15:16:49 -08:00
history Check in OWNERS modified by update-yamlfmt.sh 2021-12-09 21:31:26 -05:00
job Check in OWNERS modified by update-yamlfmt.sh 2021-12-09 21:31:26 -05:00
namespace Check in OWNERS modified by update-yamlfmt.sh 2021-12-09 21:31:26 -05:00
nodeipam Cleanup OWNERS files (No Activity in the last year) 2021-12-15 10:34:02 -05:00
nodelifecycle Merge pull request #106436 from dims/cleanup-owners-files-no-activity-in-a-year 2021-12-15 12:07:51 -08:00
podautoscaler Cleanup OWNERS files (No Activity in the last year) 2021-12-15 10:34:02 -05:00
podgc Cleanup OWNERS files (No Activity in the last year) 2021-12-15 10:34:02 -05:00
replicaset Check in OWNERS modified by update-yamlfmt.sh 2021-12-09 21:31:26 -05:00
replication Check in OWNERS modified by update-yamlfmt.sh 2021-12-09 21:31:26 -05:00
resourcequota Check in OWNERS modified by update-yamlfmt.sh 2021-12-09 21:31:26 -05:00
serviceaccount Check in OWNERS modified by update-yamlfmt.sh 2021-12-09 21:31:26 -05:00
statefulset Check in OWNERS modified by update-yamlfmt.sh 2021-12-09 21:31:26 -05:00
storageversiongc Wire contexts to Core controllers 2021-11-01 10:29:00 -04:00
testutil Migrate to k8s.io/utils/clock in pkg/controller 2021-09-10 11:42:32 +02:00
ttl Wire contexts to Core controllers 2021-11-01 10:29:00 -04:00
ttlafterfinished Check in OWNERS modified by update-yamlfmt.sh 2021-12-09 21:31:26 -05:00
util Check in OWNERS modified by update-yamlfmt.sh 2021-12-09 21:31:26 -05:00
volume Deflake PV metrics unit test 2021-12-21 15:36:44 +01:00
controller_ref_manager_test.go Merge pull request #101250 from evertrain/master 2021-11-10 09:19:26 -08:00
controller_ref_manager.go Wire contexts to Batch controllers (#105491) 2021-11-10 14:56:46 -08:00
controller_utils_test.go Wire contexts to Batch controllers (#105491) 2021-11-10 14:56:46 -08:00
controller_utils.go Wire contexts to Batch controllers (#105491) 2021-11-10 14:56:46 -08:00
doc.go
lookup_cache.go
OWNERS Check in OWNERS modified by update-yamlfmt.sh 2021-12-09 21:31:26 -05:00