Uploaded image for project: 'Slider'
  1. Slider
  2. SLIDER-865

Create test cases for Slider-Docker support

    XMLWordPrintableJSON

Details

    • Test
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • Slider 2.0.0
    • None
    • None

    Description

      As Docker applications need to have Docker daemon running in the target host, it is more feasible to create functional test cases, where installation of Docker daemon in all hosts in the functional test cluster is required prior to running the test cases.

      Normal cases:
      1) launch a single Docker container application, which uploads a file to HDFS, verify the existence of that file. need to create this Docker image. this is to test the application inside the container can access service outside the container
      2) launch a single Docker container application, which is a web server, verify with http get. need to create this Docker image. this is to test the application inside the container is accessible from outside
      3) launch a Docker application with multi Docker containers communicating with each other, for example, nodejs to redis, verify with http get. can reuse existing nodejs and redis Docker image. this is to test the components can access each other

      Exceptional cases:
      1) invalid metainfo.json
      2) non-existing Docker image
      3) invalid 'docker run' command to start the containers

      Attachments

        Activity

          People

            thomas_liu thomas liu
            thomas_liu thomas liu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: