Skip to content

Commit 8d74789

Browse files
committed
Update the Control Plane Machine name pattern
1 parent 8fadc16 commit 8d74789

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/extended/machines/machines.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ var _ = g.Describe("[sig-cluster-lifecycle][Feature:Machines] Managed cluster sh
124124
machineClientSet, err := machineclient.NewForConfig(oc.KubeFramework().ClientConfig())
125125
o.Expect(err).ToNot(o.HaveOccurred())
126126

127-
pattern := `^([a-zA-Z0-9]+-)+master-\d+$`
127+
pattern := `^([a-zA-Z0-9]+-)+master(?:-[a-zA-Z0-9]+)?-\d+$`
128128

129129
g.By("checking for the openshift machine api operator")
130130
skipUnlessMachineAPIOperator(dc, c.CoreV1().Namespaces())

0 commit comments

Comments
 (0)