Skip to content

fix currently failing main branch #2893

Closed

Description

@armru

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

  1. self-assigned this
    on Sep 27, 2023
  2. added a commit that references this issue on Sep 27, 2023
    f2345a2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions