Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-8719

kn-workflow-plugin tests reported as successful even if they fail

XMLWordPrintable

    • 1
    • False
    • None
    • False
    • ---
    • ---
    • 2023 Week 06-08 (from Feb 6)

      Summary
      kn-workflow-plugin tests are written in Go and reporting is broken for them. Errors are visible in logs, but exit code is not passed to GitHub Actions. Problem is, that when generating JUnit report, `-set-exit-code` is not passed to the tool.

      AC
      Exit code is passed to GH Actions and when test fail, check is reported as failed. 

              zdrapela@redhat.com Zbynek Drapela
              zdrapela@redhat.com Zbynek Drapela
              Dominik Hanak Dominik Hanak
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: