You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the unit test step of the main branch is failing, we should fix it:
Will run 3 of 3 specs
------------------------------
• [FAILED] [1.022 seconds]
Volumesnapshot reconciler [It] should fence the target pod when there are no volumesnapshots
/home/runner/work/cloudnative-pg/cloudnative-pg/pkg/reconciler/backup/volumesnapshot/reconciler_test.go:90
[FAILED] Timed out after 1.000s.
Expected
<string>: Normal FencePod Fencing Pod clusterName-2
to contain substring
<string>: Requesting fencing for Pod clusterName-2
In [It] at: /home/runner/work/cloudnative-pg/cloudnative-pg/pkg/reconciler/backup/volumesnapshot/reconciler_test.go:118 @ 09/27/23 08:12:23.545
------------------------------
•
------------------------------
• [FAILED] [1.003 seconds]
Volumesnapshot reconciler [It] should unfence the target pod when the snapshots are ready
/home/runner/work/cloudnative-pg/cloudnative-pg/pkg/reconciler/backup/volumesnapshot/reconciler_test.go:176
[FAILED] Timed out after 1.001s.
Expected
<bool>: false
to be true
In [It] at: /home/runner/work/cloudnative-pg/cloudnative-pg/pkg/reconciler/backup/volumesnapshot/reconciler_test.go:233 @ 09/27/23 08:12:24.754
------------------------------
Summarizing 2 Failures:
[FAIL] Volumesnapshot reconciler [It] should fence the target pod when there are no volumesnapshots
/home/runner/work/cloudnative-pg/cloudnative-pg/pkg/reconciler/backup/volumesnapshot/reconciler_test.go:118
[FAIL] Volumesnapshot reconciler [It] should unfence the target pod when the snapshots are ready
/home/runner/work/cloudnative-pg/cloudnative-pg/pkg/reconciler/backup/volumesnapshot/reconciler_test.go:233
Ran 3 of 3 Specs in 2.230 seconds
FAIL! -- 1 Passed | 2 Failed | 0 Pending | 0 Skipped
--- FAIL: TestReconciler (2.23s)
Activity
test: fix volumesnapshot unit test