forked from kubevirt/containerized-data-importer
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
e2e: add no-kubernetes-in-docker label
This label means the e2e tests are not suitable to test in containerized k8s env (kind provider). In this commit, we label two tests because the large size images would lead to OOM of cdi-uploader. For more detail, please refer to: kubevirt#3577 (comment) Signed-off-by: howard zhang <[email protected]>
- Loading branch information
Showing
2 changed files
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -57,7 +57,7 @@ var _ = Describe("[rfe_id:1115][crit:high][vendor:[email protected]][level:compo | |
ns = f.Namespace.Name | ||
}) | ||
|
||
DescribeTable("[test_id:2329] Should fail to import images that require too much space", func(uploadURL string) { | ||
DescribeTable("[test_id:2329] Should fail to import images that require too much space", Label("no-kubernetes-in-docker"), func(uploadURL string) { | ||
imageURL := fmt.Sprintf(uploadURL, f.CdiInstallNs) | ||
|
||
By(imageURL) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -307,7 +307,7 @@ var _ = Describe("[rfe_id:138][crit:high][vendor:[email protected]][level:compon | |
Entry("fail given a large physical size QCOW2 file", utils.UploadFileLargePhysicalDiskQcow), | ||
) | ||
|
||
DescribeTable("[posneg:negative][test_id:2330]Verify failure on sync upload if virtual size > pvc size", Serial, func(filename string) { | ||
DescribeTable("[posneg:negative][test_id:2330]Verify failure on sync upload if virtual size > pvc size", Label("no-kubernetes-in-docker"), Serial, func(filename string) { | ||
By("Verify PVC annotation says ready") | ||
found, err := utils.WaitPVCPodStatusReady(f.K8sClient, pvc) | ||
Expect(err).ToNot(HaveOccurred()) | ||
|