Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-62484

Unit tests failing with GOOGLE_APPLICATION_CREDENTIALS missing

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • 4.21.0
    • 4.21.0
    • Storage / Kubernetes
    • None
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None
    • None
    • In Progress
    • Release Note Not Required
    • None
    • None
    • None
    • None
    • None

      Description of problem:

      Unit tests for gcp-filestore-csi-driver were failing due to missing GOOGLE_APPLICATION_CREDENTIALS env. Unit tests should mock things and not call servers.
      
      Can be seen on https://github.com/openshift/gcp-filestore-csi-driver/pull/52 in https://prow.ci.openshift.org/view/gs/test-platform-results/pr-logs/pull/openshift_gcp-filestore-csi-driver/52/pull-ci-openshift-gcp-filestore-csi-driver-master-unit/1972934409845739520

      Version-Release number of selected component (if applicable):

          4.21

      How reproducible:

          Everytime

      Steps to Reproduce:

          1. Run test/run_unit.sh
          2.
          3.
          

      Actual results:

          

      Expected results:

          

      Additional info:

          

              rhn-support-dfajmon Daniel Fajmon
              rhn-support-dfajmon Daniel Fajmon
              None
              None
              Wei Duan Wei Duan
              None
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: