Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-5182

Acceptance test may exit with 0 in case of error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.2.0
    • test

    Description

      If any acceptance test fails, test-all.sh (and in turn acceptance.sh) should exit with error code (1). But if a successful test is run after a failing one, it will now wrongly exit with success (0).

      $ export OZONE_TEST_SELECTOR='failing1\|ozone-csi'
      $ ./hadoop-ozone/dev-support/checks/acceptance.sh
      ...
      $ echo $?
      0
      

      Attachments

        Issue Links

          Activity

            People

              adoroszlai Attila Doroszlai
              ghuangups George Huang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: