File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -112,11 +112,11 @@ var _ = Describe("ORC Server API validations", func() {
112112 WithPorts (applyconfigv1alpha1 .ServerPortSpec ().WithPortRef ("my-port" )))
113113 Expect (applyObj (ctx , server , patch )).To (MatchError (ContainSubstring ("spec.resource.flavorRef" )))
114114
115- // Missing imageRef
115+ // Missing imageRef or bootVolume
116116 patch .Spec .WithResource (applyconfigv1alpha1 .ServerResourceSpec ().
117117 WithFlavorRef ("my-flavor" ).
118118 WithPorts (applyconfigv1alpha1 .ServerPortSpec ().WithPortRef ("my-port" )))
119- Expect (applyObj (ctx , server , patch )).To (MatchError (ContainSubstring ("spec.resource. imageRef" )))
119+ Expect (applyObj (ctx , server , patch )).To (MatchError (ContainSubstring ("either imageRef or bootVolume must be specified " )))
120120
121121 // Missing ports
122122 patch .Spec .WithResource (applyconfigv1alpha1 .ServerResourceSpec ().
You can’t perform that action at this time.
0 commit comments