Uploaded image for project: 'Hybrid Cloud Console'
  1. Hybrid Cloud Console
  2. RHCLOUD-37380

[cloud-connector] fix failing iqe tests

XMLWordPrintable

    • 3
    • False
    • Hide

      None

      Show
      None
    • False
    • None
    • Unset
    • None

      The iqe tests that run as part of the pr-checks are failing with the following error:

      19:25:06     def update_params_for_auth(inner_self, headers, *k, **kw):
      19:25:06         """Call ``inner_self.configuration.iqe_authz``."""
      19:25:06 >       inner_self.configuration.iqe_authz(Namespace(headers=headers))
      19:25:06 E       TypeError: 'NoneType' object is not callable
      

      It is only the PSK based tests that are failing like this.

      The iqe_authz to None here: https://gitlab.cee.redhat.com/insights-qe/iqe-cloud-connector-plugin/-/blob/master/iqe_cloud_connector/fixtures/__init__.py?ref_type=heads#L35

      I suspect we are doing that to make sure that we use PSK based authentication instead of our normal identity header based authentication. We need to find a different approach to make sure we are using the PSK for authentication.

      https://ci.ext.devshift.net/job/RedHatInsights-cloud-connector-pr-check/865/console

              bschneid@redhat.com Brandon Schneider
              rhn-support-dehort Derek Horton
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: