mirror of
https://github.com/kubevirt/containerized-data-importer.git
synced 2025-06-03 06:30:22 +00:00
updated to [attr1][attr2][attr3] struct
This commit is contained in:
parent
0149a300c7
commit
0c6e1ff6ae
@ -22,7 +22,7 @@ const (
|
||||
destinationFile = "/var/tmp/datavolume_test.yaml"
|
||||
)
|
||||
|
||||
var _ = Describe("[rfe_id:1130, crit:medium, vendor:cnv-qe@redhat.com, level:component]Validation tests", func() {
|
||||
var _ = Describe("[rfe_id:1130][crit:medium][vendor:cnv-qe@redhat.com][level:component]Validation tests", func() {
|
||||
f := framework.NewFrameworkOrDie("api-validation-func-test")
|
||||
|
||||
Describe("[posneg:negative]Verify DataVolume validation", func() {
|
||||
@ -72,8 +72,8 @@ var _ = Describe("[rfe_id:1130, crit:medium, vendor:cnv-qe@redhat.com, level:com
|
||||
},
|
||||
table.Entry("[test_id:1321]fail with http source with invalid url format", "http", invalidURLFormat),
|
||||
table.Entry("[test_id:1322]fail with http source with empty url", "http", ""),
|
||||
table.Entry("[test_id:1323, crit:low]fail with s3 source with invalid url format", "s3", invalidURLFormat),
|
||||
table.Entry("[test_id:1324, crit:low]fail with s3 source with empty url", "s3", ""),
|
||||
table.Entry("[test_id:1323][crit:low]fail with s3 source with invalid url format", "s3", invalidURLFormat),
|
||||
table.Entry("[test_id:1324][crit:low]fail with s3 source with empty url", "s3", ""),
|
||||
table.Entry("[test_id:1325]fail with empty PVC source namespace", "pvc", "", "test-pvc"),
|
||||
table.Entry("[test_id:1326]fail with empty PVC source name", "pvc", "test", ""),
|
||||
)
|
||||
|
@ -10,7 +10,7 @@ import (
|
||||
"kubevirt.io/containerized-data-importer/tests/framework"
|
||||
)
|
||||
|
||||
var _ = Describe("[rfe_id:1347, crit:high, vendor:cnv-qe@redhat.com, level:component]Basic Sanity", func() {
|
||||
var _ = Describe("[rfe_id:1347][crit:high][vendor:cnv-qe@redhat.com][level:component]Basic Sanity", func() {
|
||||
f := framework.NewFrameworkOrDie("sanity", framework.Config{
|
||||
SkipNamespaceCreation: true,
|
||||
})
|
||||
|
@ -26,7 +26,7 @@ const (
|
||||
controllerSkipPVCCompleteTimeout = 90 * time.Second
|
||||
)
|
||||
|
||||
var _ = Describe("[rfe_id:1277, crit:high, vendor:cnv-qe@redhat.com, level:component]Cloner Test Suite", func() {
|
||||
var _ = Describe("[rfe_id:1277][crit:high][vendor:cnv-qe@redhat.com][level:component]Cloner Test Suite", func() {
|
||||
f := framework.NewFrameworkOrDie(namespacePrefix)
|
||||
|
||||
var sourcePvc *v1.PersistentVolumeClaim
|
||||
|
@ -25,7 +25,7 @@ const (
|
||||
timeout = 90 * time.Second
|
||||
)
|
||||
|
||||
var _ = Describe("[vendor:cnv-qe@redhat.com, level:component]DataVolume tests", func() {
|
||||
var _ = Describe("[vendor:cnv-qe@redhat.com][level:component]DataVolume tests", func() {
|
||||
|
||||
var sourcePvc *v1.PersistentVolumeClaim
|
||||
|
||||
@ -110,7 +110,7 @@ var _ = Describe("[vendor:cnv-qe@redhat.com, level:component]DataVolume tests",
|
||||
)
|
||||
})
|
||||
|
||||
Describe("[rfe_id:1115, crit:high, posneg:negative]Delete resources of DataVolume with an invalid URL (POD in retry loop)", func() {
|
||||
Describe("[rfe_id:1115][crit:high][posneg:negative]Delete resources of DataVolume with an invalid URL (POD in retry loop)", func() {
|
||||
Context("using invalid import URL for DataVolume", func() {
|
||||
dataVolumeName := "invalid-url-dv"
|
||||
url := "http://nothing.2.c/here.iso"
|
||||
|
@ -29,7 +29,7 @@ const (
|
||||
BlankImageMD5 = "cd573cfaace07e7949bc0c46028904ff"
|
||||
)
|
||||
|
||||
var _ = Describe("[rfe_id:1115, crit:high, vendor:cnv-qe@redhat.com, level:component]Importer Test Suite", func() {
|
||||
var _ = Describe("[rfe_id:1115][crit:high][vendor:cnv-qe@redhat.com][level:component]Importer Test Suite", func() {
|
||||
var (
|
||||
ns string
|
||||
f = framework.NewFrameworkOrDie(namespacePrefix)
|
||||
@ -98,7 +98,7 @@ var _ = Describe("[rfe_id:1115, crit:high, vendor:cnv-qe@redhat.com, level:compo
|
||||
})
|
||||
})
|
||||
|
||||
var _ = Describe("[rfe_id:1118, crit:high, vendor:cnv-qe@redhat.com, level:component]Importer Test Suite-prometheus", func() {
|
||||
var _ = Describe("[rfe_id:1118][crit:high][vendor:cnv-qe@redhat.com][level:component]Importer Test Suite-prometheus", func() {
|
||||
f := framework.NewFrameworkOrDie(namespacePrefix)
|
||||
|
||||
BeforeEach(func() {
|
||||
|
@ -32,7 +32,7 @@ func checkLogForRegEx(regEx *regexp.Regexp, log string) bool {
|
||||
return len(matches) == 1
|
||||
}
|
||||
|
||||
var _ = Describe("[rfe_id:1250, crit:high, vendor:cnv-qe@redhat.com, level:component]Leader election tests", func() {
|
||||
var _ = Describe("[rfe_id:1250][crit:high][vendor:cnv-qe@redhat.com][level:component]Leader election tests", func() {
|
||||
var err error
|
||||
var deployment *appsv1.Deployment
|
||||
var leaderPodName string
|
||||
|
@ -20,7 +20,7 @@ const (
|
||||
pvWaitForTime = 60 * time.Second
|
||||
)
|
||||
|
||||
var _ = Describe("[rfe_id:1125, crit:high, vendor:cnv-qe@redhat.com, level:component]Local Volume tests", func() {
|
||||
var _ = Describe("[rfe_id:1125][crit:high][vendor:cnv-qe@redhat.com][level:component]Local Volume tests", func() {
|
||||
|
||||
f := framework.NewFrameworkOrDie("local-volume-func-test")
|
||||
|
||||
|
@ -13,7 +13,7 @@ import (
|
||||
"kubevirt.io/containerized-data-importer/tests/utils"
|
||||
)
|
||||
|
||||
var _ = Describe("[rfe_id:138, crit:high, vendor:cnv-qe@redhat.com, level:component]Upload tests", func() {
|
||||
var _ = Describe("[rfe_id:138][crit:high][vendor:cnv-qe@redhat.com][level:component]Upload tests", func() {
|
||||
|
||||
var pvc *v1.PersistentVolumeClaim
|
||||
var err error
|
||||
@ -87,6 +87,6 @@ var _ = Describe("[rfe_id:138, crit:high, vendor:cnv-qe@redhat.com, level:compon
|
||||
}
|
||||
},
|
||||
table.Entry("[test_id:1368]succeed given a valid token", true),
|
||||
table.Entry("[posneg:negative, test_id:1369]fail given an invalid token", false),
|
||||
table.Entry("[posneg:negative][test_id:1369]fail given an invalid token", false),
|
||||
)
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user