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

execute_robot_test on unknown/unavailable container should fail acceptance test

    XMLWordPrintableJSON

Details

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

    Description

      Before the fix for HDDS-2897, recon container in ozonesecure environment exited with error soon after start. While working on the fix avijayan noticed that the following test case (which tries to run some test on recon container) does not catch this error:

      execute_robot_test recon <any test>
      

      Ideally this should fail, since recon container is down. But all commands that reference the container are run with set +e in effect, so the container's unavailibility is basically ignored, and acceptance test passes.

      Attachments

        Issue Links

          Activity

            People

              adoroszlai Attila Doroszlai
              adoroszlai Attila Doroszlai
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m