quipucords / camayoc

Test automation framework that facilitates functional testing of quipucords.
https://camayoc.readthedocs.io/
GNU General Public License v3.0
5 stars 4 forks source link

Update OpenShift test to support operators, ACM and node-metrics #441

Closed ruda closed 1 year ago

ruda commented 1 year ago

Extend coverage in the OpenShift tests to verify the following features:

Test execution: pytest -v -ra camayoc/tests/qpc/cli/test_openshift.py

Sample configuration.

---
openshift:
  - hostname: api.ocp413acm.abc.example.com
    port: 6443
    token: 'sha256~...'
    skip_tls_verify: true
    cluster_id: 'YYYYYYYY-YYYY-YYYY-YYYY-YYYYYYYYYYYY'
    version: '4.13.4'
    nodes:
      - 'master-0.ocp413acm.abc.example.com'
      - 'master-1.ocp413acm.abc.example.com'
      - 'master-2.ocp413acm.abc.example.com'
      - 'worker-0.ocp413acm.abc.example.com'
      - 'worker-1.ocp413acm.abc.example.com'
      - 'worker-2.ocp413acm.abc.example.com'
    operators:
      - 'multicluster-engine'
      - 'advanced-cluster-management'
  - hostname: api.ocp412tiny.xyz.example.com
    port: 6443
    token: 'sha256~...'
    skip_tls_verify: true
    cluster_id: 'XXXXXXXX-XXXX-XXXX-XXXXXXXXXXXXXXXXX'
    version: '4.12.25'
    nodes:
      - 'master-0.ocp412tiny.xyz.example.com'
      - 'master-1.ocp412tiny.xyz.example.com'
      - 'master-2.ocp412tiny.xyz.example.com'
    operators:
      - 'console'
      - 'dns'
      - 'network'
...

Relates to JIRA: DISCOVERY-348 DISCOVERY-349 https://issues.redhat.com/browse/DISCOVERY-348 https://issues.redhat.com/browse/DISCOVERY-349

codecov[bot] commented 1 year ago

Codecov Report

Merging #441 (5256737) into main (9894ffd) will not change coverage. The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #441   +/-   ##
=======================================
  Coverage   79.11%   79.11%           
=======================================
  Files           5        5           
  Lines         249      249           
=======================================
  Hits          197      197           
  Misses         52       52           

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

ruda commented 1 year ago

I appreciate the comments for enhancements, thanks! I am going to do the final adjustments, squash the commits and merge it.