Uploaded image for project: 'Automation Hub'
  1. Automation Hub
  2. AAH-2442

Integration tests not skipping as expected

    • Icon: Task Task
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • Backend, QE
    • None
    • False
    • Hide

      None

      Show
      None
    • False

      `test_publish_newer_certified_collection_version` has pytest skip message “This test needs refactoring to work with signatures required on move.” https://github.com/ansible/galaxy_ng/blob/8948803c51b9168a7e6f8b7c11df3d7e4a54ed4e/galaxy_ng/tests/integration/cli/test_cli_flow.py#L56 

      CRC Stage integration test skips this test, but with the message: “FIXME: set_certification function incompatible with GALAXY_REQUIRE_SIGNATURE_FOR_APPROVAL.” which has the same conditional and comes from here https://github.com/ansible/galaxy_ng/blob/8948803c51b9168a7e6f8b7c11df3d7e4a54ed4e/galaxy_ng/tests/integration/utils/collections.py#L357-L358

      This mean the first skip in not being honored, possibly due to the `settings` variable being a fixture.

      This same situation is causing this other test to not be skipped https://github.com/ansible/galaxy_ng/blob/8948803c51b9168a7e6f8b7c11df3d7e4a54ed4e/galaxy_ng/tests/integration/cli/test_cli_flow.py#L114 and causing a 500 in galaxy-ng-integration-tests-stage [jenkins] 

              rh-ee-etracey Eamon Tracey (Inactive)
              awcrosby5 Andrew Crosby (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: