Commit 80aea340 authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

Merge pull request #40534 from aveshagarwal/master-pod-anti-affinity-e2e

Automatic merge from submit-queue (batch tested with PRs 40046, 40073, 40547, 40534, 40249) Fix e2e: validates that InterPodAntiAffinity is respected if matching 2 **What this PR does / why we need it**: Fixed e2e: validates that InterPodAntiAffinity is respected if matching 2 ``` • Failure [120.255 seconds] [k8s.io] SchedulerPredicates [Serial] /root/code/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:656 validates that InterPodAntiAffinity is respected if matching 2 [It] /root/code/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e/scheduler_predicates.go:561 Not scheduled Pods: []v1.Pod(nil) Expected <int>: 0 to equal <int>: 1 /root/code/src/k8s.io/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e/scheduler_predicates.go:933 ``` **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes # https://github.com/kubernetes/kubernetes/issues/30142 **Special notes for your reviewer**: xref: https://bugzilla.redhat.com/show_bug.cgi?id=1413748 While looking into the above bug, I found that the e2e was failing. **Release note**: ```release-note ```
parents 892cd7a2 ed8cd828
......@@ -542,7 +542,7 @@ var _ = framework.KubeDescribe("SchedulerPredicates [Serial]", func() {
LabelSelector: &metav1.LabelSelector{
MatchExpressions: []metav1.LabelSelectorRequirement{
{
Key: "security",
Key: "service",
Operator: metav1.LabelSelectorOpIn,
Values: []string{"S1", "value2"},
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment