@@ -487,49 +487,49 @@ func TestValidateProvisioning(t *testing.T) {
487487 name : "invalid_bootstraposimage" ,
488488 platform : platform ().
489489 BootstrapOSImage ("192.168.111.1/images/qemu.x86_64.qcow2.gz?sha256=3b5a882c2af3e19d515b961855d144f293cab30190c2bdedd661af31a1fc4e2f" ).build (),
490- expected : "baremetal.BootstrapOSImage : Invalid value:.*: the URI provided:.*is invalid" ,
490+ expected : "baremetal.bootstrapOSImage : Invalid value:.*: the URI provided:.*is invalid" ,
491491 },
492492 {
493493 name : "invalid_clusterosimage" ,
494494 platform : platform ().
495495 ClusterOSImage ("http//192.168.111.1/images/metal.x86_64.qcow2.gz?sha256=340dfa4d92450f2eee852ed1e2d02e3138cc68d824827ef9cf0a40a7ea2f93da" ).build (),
496- expected : "baremetal.ClusterOSImage : Invalid value:.*: the URI provided:.*is invalid" ,
496+ expected : "baremetal.clusterOSImage : Invalid value:.*: the URI provided:.*is invalid" ,
497497 },
498498 {
499499 name : "invalid_bootstraposimage_checksum" ,
500500 platform : platform ().
501501 BootstrapOSImage ("http://192.168.111.1/images/qemu.x86_64.qcow2.gz?md5sum=3b5a882c2af3e19d515b961855d144f293cab30190c2bdedd661af31a1fc4e2f" ).build (),
502- expected : "baremetal.BootstrapOSImage : Invalid value:.*: the sha256 parameter in the.*URI is missing" ,
502+ expected : "baremetal.bootstrapOSImage : Invalid value:.*: the sha256 parameter in the.*URI is missing" ,
503503 },
504504 {
505505 name : "invalid_clusterosimage_checksum" ,
506506 platform : platform ().
507507 ClusterOSImage ("http://192.168.111.1/images/metal.x86_64.qcow2.gz?sha256=3ee852ed1e2d02e3138cc68d824827ef9cf0a40a7ea2f93da" ).build (),
508- expected : "baremetal.ClusterOSImage : Invalid value:.*: the sha256 parameter in the.*URI is invalid" ,
508+ expected : "baremetal.clusterOSImage : Invalid value:.*: the sha256 parameter in the.*URI is invalid" ,
509509 },
510510 {
511511 name : "invalid_bootstraposimage_uri_scheme" ,
512512 platform : platform ().
513513 BootstrapOSImage ("xttp://192.168.111.1/images/qemu.x86_64.qcow2.gz?sha256=3b5a882c2af3e19d515b961855d144f293cab30190c2bdedd661af31a1fc4e2f" ).build (),
514- expected : "baremetal.BootstrapOSImage : Invalid value:.*: the URI provided.*must begin with http/https" ,
514+ expected : "baremetal.bootstrapOSImage : Invalid value:.*: the URI provided.*must begin with http/https" ,
515515 },
516516 {
517517 name : "invalid_clusterosimage_uri_scheme" ,
518518 platform : platform ().
519519 ClusterOSImage ("xttp://192.168.111.1/images/qemu.x86_64.qcow2.gz?sha256=3b5a882c2af3e19d515b961855d144f293cab30190c2bdedd661af31a1fc4e2f" ).build (),
520- expected : "baremetal.ClusterOSImage : Invalid value:.*: the URI provided.*must begin with http/https" ,
520+ expected : "baremetal.clusterOSImage : Invalid value:.*: the URI provided.*must begin with http/https" ,
521521 },
522522 {
523523 name : "notfound_bootstraposimage" ,
524524 platform : platform ().
525525 BootstrapOSImage (imagesServer .URL + "/images/notexistent.x86_64.qcow2.gz?sha256=3b5a882c2af3e19d515b961855d144f293cab30190c2bdedd661af31a1fc4e2f" ).build (),
526- expected : "baremetal.BootstrapOSImage : Not found:.*" ,
526+ expected : "baremetal.bootstrapOSImage : Not found:.*" ,
527527 },
528528 {
529529 name : "notfound_clusterosimageimage" ,
530530 platform : platform ().
531531 ClusterOSImage (imagesServer .URL + "/images/notexistent.x86_64.qcow2.gz?sha256=3b5a882c2af3e19d515b961855d144f293cab30190c2bdedd661af31a1fc4e2f" ).build (),
532- expected : "baremetal.ClusterOSImage : Not found:.*" ,
532+ expected : "baremetal.clusterOSImage : Not found:.*" ,
533533 },
534534 {
535535 name : "invalid_extbridge" ,
0 commit comments