From a0c6f24f6e8cf3dc441be125348772c998a6e578 Mon Sep 17 00:00:00 2001 From: derekbit Date: Tue, 17 Dec 2024 08:53:21 +0000 Subject: [PATCH] Update testing docs Signed-off-by: derekbit --- integration/test_basic.html | 2 +- integration/test_csi_snapshotter.html | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/integration/test_basic.html b/integration/test_basic.html index 685e66fc9f..cde0442f07 100644 --- a/integration/test_basic.html +++ b/integration/test_basic.html @@ -1504,7 +1504,7 @@

Functions

Volume should always be healthy even only with 2 replicas.

-def test_workload_with_fsgroup(core_api, statefulset) +def test_workload_with_fsgroup(core_api, statefulset, storage_class)
    diff --git a/integration/test_csi_snapshotter.html b/integration/test_csi_snapshotter.html index fb02d53976..88f0b9ae14 100644 --- a/integration/test_csi_snapshotter.html +++ b/integration/test_csi_snapshotter.html @@ -74,7 +74,7 @@

    Functions

    - Setup backup store

-def restore_csi_volume_snapshot(core_api, client, csivolsnap, pvc_name, pvc_request_storage_size, wait_for_restore=True) +def restore_csi_volume_snapshot(core_api, client, csivolsnap, pvc_name, pvc_request_storage_size, storage_class, wait_for_restore=True)
@@ -247,7 +247,7 @@

Functions

-def test_csi_snapshot_with_bak_param(set_random_backupstore, volumesnapshotclass, volumesnapshot, client, core_api, volume_name, csi_pv, pvc, pod_make, volsnapshotclass_delete_policy, backup_is_deleted) +def test_csi_snapshot_with_bak_param(set_random_backupstore, volumesnapshotclass, volumesnapshot, client, core_api, volume_name, csi_pv, pvc, pod_make, volsnapshotclass_delete_policy, backup_is_deleted, storage_class)

Context:

@@ -437,7 +437,7 @@

Functions

- The BackingImage is deleted as well

-def test_csi_volumesnapshot_basic(set_random_backupstore, volumesnapshotclass, volumesnapshot, client, core_api, volume_name, csi_pv, pvc, pod_make, volsnapshotclass_delete_policy, backup_is_deleted, csi_snapshot_type=None) +def test_csi_volumesnapshot_basic(set_random_backupstore, volumesnapshotclass, volumesnapshot, client, core_api, volume_name, csi_pv, pvc, pod_make, volsnapshotclass_delete_policy, backup_is_deleted, storage_class, csi_snapshot_type=None)

Test creation / restoration / deletion of a backup via the csi snapshotter

@@ -491,7 +491,7 @@

set

-def test_csi_volumesnapshot_restore_existing_backup(set_random_backupstore, client, core_api, volume_name, csi_pv, pvc, pod_make, volumesnapshotclass, volumesnapshotcontent, volumesnapshot, volsnapshotclass_delete_policy, backup_is_deleted) +def test_csi_volumesnapshot_restore_existing_backup(set_random_backupstore, client, core_api, volume_name, csi_pv, pvc, pod_make, volumesnapshotclass, volumesnapshotcontent, volumesnapshot, volsnapshotclass_delete_policy, storage_class, backup_is_deleted)

Test retention of a backup while deleting the associated VolumeSnapshot