Filter() is called simultaneously, so the member of its (fake) implementation cannot be written without lock. The issue can be triggered by: go test k8s.io/kubernetes/pkg/scheduler/core --race --count=50