containerized-data-importer/tests
Danny Sanatar 64be59343b
Append Labels From DV to Importer Pod (#3744)
* append labels from pvc to importer pod

Signed-off-by: dsanatar <dsanatar@redhat.com>

* add unit test to validate AppendLabels func

Signed-off-by: dsanatar <dsanatar@redhat.com>

* change AppendLabel func to be src into dest instead of dest into src

Signed-off-by: dsanatar <dsanatar@redhat.com>

* add new functional test for label propogation

Signed-off-by: dsanatar <dsanatar@redhat.com>

* rename test

Signed-off-by: dsanatar <dsanatar@redhat.com>

* make test cases more ginkgo-like

Signed-off-by: dsanatar <dsanatar@redhat.com>

* replace and remove duplicate function calls

Signed-off-by: dsanatar <dsanatar@redhat.com>

* fix linter errors

Signed-off-by: dsanatar <dsanatar@redhat.com>

* fix ginkgo comparison in unit test

Signed-off-by: dsanatar <dsanatar@redhat.com>

* update unit test to be DescribeTable

Signed-off-by: dsanatar <dsanatar@redhat.com>

* copy labels to prime pvc, update test to account for populators

Signed-off-by: dsanatar <dsanatar@redhat.com>

---------

Signed-off-by: dsanatar <dsanatar@redhat.com>
2025-05-15 00:14:01 +02:00
..
framework Enable WebhookPvcRendering feature gate by default (#3736) 2025-05-14 18:40:03 +02:00
images importer, transport: report no space left (#3691) 2025-04-10 01:06:01 +02:00
manifests Add new Prometheus alerts and label existing alerts (#2998) 2023-12-19 12:29:08 +01:00
reporter Enable autoformatting linters (#3179) 2024-04-24 13:52:22 +02:00
utils Deprecate DV garbage collection (#3552) 2024-12-04 17:35:36 +01:00
adopt-volume_test.go Deprecate DV garbage collection (#3552) 2024-12-04 17:35:36 +01:00
api_validation_test.go Label VDDK and ImageIO tests (#3591) 2025-02-06 17:28:28 +01:00
apiserver_test.go Enable usestdlibvars linter (#3299) 2024-06-02 18:23:31 +02:00
badserver_test.go Reduce amount of logs fetched by tests that assert on control plane pod logs (#3184) 2024-05-30 21:53:33 +02:00
basic_sanity_test.go Use new 1.23.6 builder (#3652) 2025-03-03 14:51:29 +01:00
BUILD.bazel Enable WebhookPvcRendering feature gate by default (#3736) 2025-05-14 18:40:03 +02:00
cdiconfig_test.go Enable revive linter (#3241) 2024-05-21 22:35:42 +02:00
certrotation_test.go Enable Gosec linter (#3283) 2024-05-30 16:29:33 +02:00
clone-populator_test.go Enable WebhookPvcRendering feature gate by default (#3736) 2025-05-14 18:40:03 +02:00
cloner_test.go Move size detection pod deletion to cleanup (#3553) 2024-12-15 13:45:56 +01:00
csiclone_test.go Set DV Bound condition to False instead of Unknown (#3590) 2025-01-15 23:26:45 +01:00
dataimportcron_test.go Revert "Clean up leftover snapshot sources from DataImportCron tests" (#3667) 2025-03-12 03:24:02 +01:00
datasource_test.go Set DV Bound condition to False instead of Unknown (#3590) 2025-01-15 23:26:45 +01:00
datavolume_test.go Enable WebhookPvcRendering feature gate by default (#3736) 2025-05-14 18:40:03 +02:00
explain_test.go Adjust functest suite for running an allowed set of tests in parallel (#2980) 2023-12-13 01:27:48 +01:00
external_population_test.go Deprecate DV garbage collection (#3552) 2024-12-04 17:35:36 +01:00
imageio-inventory.go Enable autoformatting linters (#3179) 2024-04-24 13:52:22 +02:00
import_proxy_test.go Reduce amount of logs fetched by tests that assert on control plane pod logs (#3184) 2024-05-30 21:53:33 +02:00
import_test.go Append Labels From DV to Importer Pod (#3744) 2025-05-15 00:14:01 +02:00
local_volume_test.go Adjust functest suite for running an allowed set of tests in parallel (#2980) 2023-12-13 01:27:48 +01:00
monitoring_test.go Fix runbook_url test (#3351) 2024-07-23 15:03:08 +02:00
operator_test.go Use new 1.23.6 builder (#3652) 2025-03-03 14:51:29 +01:00
rbac_test.go Enable autoformatting linters (#3179) 2024-04-24 13:52:22 +02:00
smartclone_test.go Reduce amount of logs fetched by tests that assert on control plane pod logs (#3184) 2024-05-30 21:53:33 +02:00
static-volume_test.go Deprecate DV garbage collection (#3552) 2024-12-04 17:35:36 +01:00
tests_suite_test.go Avoid a panic in test clean-up (#3322) 2024-06-14 16:38:24 +02:00
transfer_test.go Deprecate DV garbage collection (#3552) 2024-12-04 17:35:36 +01:00
transport_test.go Enable Gosec linter (#3283) 2024-05-30 16:29:33 +02:00
upgrade_test.go Adjust functest suite for running an allowed set of tests in parallel (#2980) 2023-12-13 01:27:48 +01:00
upload_test.go include error message for upload failure due to lack of space (#3704) 2025-04-23 22:57:03 +02:00
webhook_test.go Enable unconvert linter (#3171) 2024-04-15 20:32:08 +02:00