Uploaded image for project: 'Service Binding'
  1. Service Binding
  2. APPSVC-465

Mocks are broken somewhere

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • OpenShift 4.4
    • None
    • Service Binding
    • None

      Captured from https://github.com/redhat-developer/service-binding-operator/issues/319:

      "https://github.com/redhat-developer/service-binding-operator/blob/master/pkg/controller/servicebindingrequest/reconciler_test.go#L70

      In this test, app mock deployment is created with reconcilerName and application selector in mock sbr is applicationResourceRef. Still, the test is passing. sbrOutput.Status.BindingStatus==Success. But if I try the same scenario on a cluster by creating real sbr object with uncreated deployment, the status will be Failed. So somewhere mocks are failing."

              Unassigned Unassigned
              isuttonl Igor Sutton (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: