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

kn-workflow fix reporting and broken test

XMLWordPrintable

    • Icon: Patch Patch
    • Resolution: Done
    • Icon: Major Major
    • Kogito Tooling 0.30.0
    • Kogito Tooling 0.28.1
    • None
    • None
    • 1
    • False
    • None
    • False
    • ---
    • ---

      Summary
      Tests are reported as successful even if they fail. This is caused by omitting some lines from the `go-test-output.txt` file, that should capture the output of `go test` using `tee`. This can be fixed by using line buffering using `stdbuf`.
      One broken unit test was missed because of the error in reporting.
      Goal
      Tests are running correctly and failures are reported.

            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: