File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -378,7 +378,7 @@ var _ = SIGDescribe("SchedulerPriorities [Serial]", func() {
378
378
PodConfig : pausePodConfig {
379
379
Name : podLabel ,
380
380
Namespace : ns ,
381
- Labels : map [string ]string {podLabel : "" },
381
+ Labels : map [string ]string {podLabel : "foo " },
382
382
NodeSelector : map [string ]string {topologyKey : nodeNames [0 ]},
383
383
},
384
384
}
@@ -388,7 +388,9 @@ var _ = SIGDescribe("SchedulerPriorities [Serial]", func() {
388
388
podCfg := pausePodConfig {
389
389
Name : "test-pod" ,
390
390
Namespace : ns ,
391
- Labels : map [string ]string {podLabel : "" },
391
+ // The labels shouldn't match the preceding ReplicaSet, otherwise it will
392
+ // be claimed as orphan of the ReplicaSet.
393
+ Labels : map [string ]string {podLabel : "bar" },
392
394
Affinity : & v1.Affinity {
393
395
NodeAffinity : & v1.NodeAffinity {
394
396
RequiredDuringSchedulingIgnoredDuringExecution : & v1.NodeSelector {
You can’t perform that action at this time.
0 commit comments