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

Refactor the structure of the acceptance tests

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.2.1
    • None
    • None

    Description

      I started to fix the packaging the ozone file system which requires additional acceptance tests.

      The original acceptance test is added when it was only one single file but (fortunately) now we have multiple files and multiple tests and ozonefs requires even more.

      To make it easier to handle multplie acceptance tests I propose some changes on the projects structure. This patch includes the following changes:

      1. all the start/stop/check common keywords are moved out the a common library file (commonlib.robot). All the existing files are simplified.
      2. ozone-shell tests are simplified with using parametrized tests. We don't need to repeat the same steps multiple times.
      3. The directories in the projects are simplified. Both compose file and robot files are in the same directory. The basedir is handled from the robot files. Now it's easier to run the tests localy (go to the dir and do a simple call 'robot basic.robot') or start the containers (use docker-compose from the base directory)
      4. I adjusted the logging (warning about the missing native library is not required)
      5. Decreased the heartbeat intervall (to make the tests faster)
      6. I improved the ozone-shell tests with adding a few additional checks.

       

       

      Attachments

        1. HDDS-146.005.patch
          52 kB
          Marton Elek
        2. HDDS-146.004.patch
          45 kB
          Marton Elek
        3. HDDS-146.002.patch
          45 kB
          Marton Elek
        4. HDDS-146.001.patch
          42 kB
          Marton Elek

        Activity

          People

            elek Marton Elek
            elek Marton Elek
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: