mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-12-04 07:05:37 +00:00
SyncKnownPods began triggering UpdatePod() for pods that have been orphaned by desired config to ensure pods run to termination. This test reads a mutex protected value while pod workers are running in the background and as a consequence triggers a data race. Wait for the workers to stabilize before reading the value. Other tests validate that the correct sync events are triggered (see kubelet_pods_test.go#TestKubelet_HandlePodCleanups for full verification of this behavior). It is slightly concerning that I was unable to recreate the race locally even under stress testing, but I cannot identify why.
72 KiB
72 KiB