Skip to content

Commit

Permalink
added utils.RayIDLabelKey in testService in TestReconcileHeadService
Browse files Browse the repository at this point in the history
Signed-off-by: owenowenisme <[email protected]>
  • Loading branch information
owenowenisme committed Jan 17, 2025
1 parent 0304b1f commit e8ddab1
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1013,6 +1013,7 @@ func TestReconcileHeadService(t *testing.T) {
Labels: map[string]string{
utils.RayClusterLabelKey: cluster.Name,
utils.RayNodeTypeLabelKey: string(rayv1.HeadNode),
utils.RayIDLabelKey: utils.CheckLabel(utils.GenerateIdentifier(cluster.Name, rayv1.HeadNode)),
},
},
}
Expand All @@ -1026,6 +1027,7 @@ func TestReconcileHeadService(t *testing.T) {
headServiceSelector := labels.SelectorFromSet(map[string]string{
utils.RayClusterLabelKey: cluster.Name,
utils.RayNodeTypeLabelKey: string(rayv1.HeadNode),
utils.RayIDLabelKey: utils.CheckLabel(utils.GenerateIdentifier(cluster.Name, rayv1.HeadNode)),
})

// Initialize RayCluster reconciler.
Expand Down

0 comments on commit e8ddab1

Please sign in to comment.