From 4788f3ac7b870c6d6ef3442d2f03ce0affe1f2b9 Mon Sep 17 00:00:00 2001 From: innobead Date: Thu, 25 Jan 2024 15:30:31 +0000 Subject: [PATCH] Update testing docs Signed-off-by: innobead --- integration/test_recurring_job.html | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/integration/test_recurring_job.html b/integration/test_recurring_job.html index e12c8ace3f..8b820aee33 100644 --- a/integration/test_recurring_job.html +++ b/integration/test_recurring_job.html @@ -45,6 +45,7 @@

Module tests.test_recurring_job

from common import random_labels, volume_name # NOQA from common import storage_class, statefulset, pvc # NOQA from common import make_deployment_with_pvc # NOQA +from common import generate_volume_name from common import get_self_host_id @@ -2019,9 +2020,9 @@

Module tests.test_recurring_job

back1 = BACKUP + "1" back2 = BACKUP + "2" group1 = "group01" - volume_name1 = "record-recurring-job" - rvolume_name1 = "restore-record-recurring-job-01" - rvolume_name2 = "restore-record-recurring-job-02" + volume_name1 = "record-recur" + "-" + generate_volume_name() + rvolume_name1 = "restore-01" + "-" + generate_volume_name() + rvolume_name2 = "restore-02" + "-" + generate_volume_name() recurring_jobs = { back1: { @@ -2076,8 +2077,8 @@

Module tests.test_recurring_job

complete_backup_1_count = 0 restore_snapshot_name = "" - volume = client.by_id_volume(volume_name1) wait_for_backup_completion(client, volume_name1) + volume = client.by_id_volume(volume_name1) for b in volume.backupStatus: if back1+"-" in b.snapshot: complete_backup_1_count += 1 @@ -4251,9 +4252,9 @@

Delete m back1 = BACKUP + "1" back2 = BACKUP + "2" group1 = "group01" - volume_name1 = "record-recurring-job" - rvolume_name1 = "restore-record-recurring-job-01" - rvolume_name2 = "restore-record-recurring-job-02" + volume_name1 = "record-recur" + "-" + generate_volume_name() + rvolume_name1 = "restore-01" + "-" + generate_volume_name() + rvolume_name2 = "restore-02" + "-" + generate_volume_name() recurring_jobs = { back1: { @@ -4308,8 +4309,8 @@

Delete m complete_backup_1_count = 0 restore_snapshot_name = "" - volume = client.by_id_volume(volume_name1) wait_for_backup_completion(client, volume_name1) + volume = client.by_id_volume(volume_name1) for b in volume.backupStatus: if back1+"-" in b.snapshot: complete_backup_1_count += 1