[ https://issues.apache.org/jira/browse/SLIDER-865?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
thomas liu updated SLIDER-865: ------------------------------ Fix Version/s: (was: Slider 0.80) Slider 1.0.0 > Create test cases for Slider-Docker support > ------------------------------------------- > > Key: SLIDER-865 > URL: https://issues.apache.org/jira/browse/SLIDER-865 > Project: Slider > Issue Type: Sub-task > Reporter: thomas liu > Assignee: thomas liu > Fix For: Slider 1.0.0 > > > 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 -- This message was sent by Atlassian JIRA (v6.3.4#6332)