[ 
https://issues.apache.org/jira/browse/HDDS-1458?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16841788#comment-16841788
 ] 

Eric Yang commented on HDDS-1458:
---------------------------------

[~anu] The current test does not spawn real cluster.  The current approach has 
two limitations that tie the tests into a single node.  1.  ozone binary is not 
in docker container image.  There is no mechanism to distribute ozone binary to 
real cluster.  2.  Blockade [does not support docker 
swarm|https://blockade.readthedocs.io/en/latest/install.html] to test real 
distributed cluster.  The current design can work on a single node with 
multiple containers.  We opened HDDS-1495 to address docker image issue to 
ensure that we can distribute docker images to multiple nodes for the real test 
to happen.  This is the reason that I was not planning to expose the disk tests 
using the current design beyond development environment.  I will put the tests 
in tarball, when that content is written.

[~elek] {quote}Can you please update the patch with support this with the new 
tests as well?{quote}

The content of disk tests is a follow up patch, and I will add the scripts to 
tarball when the time comes.  Does this work for you?

> Create a maven profile to run fault injection tests
> ---------------------------------------------------
>
>                 Key: HDDS-1458
>                 URL: https://issues.apache.org/jira/browse/HDDS-1458
>             Project: Hadoop Distributed Data Store
>          Issue Type: Test
>            Reporter: Eric Yang
>            Assignee: Eric Yang
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 0.4.1
>
>         Attachments: HDDS-1458.001.patch, HDDS-1458.002.patch, 
> HDDS-1458.003.patch, HDDS-1458.004.patch, HDDS-1458.005.patch, 
> HDDS-1458.006.patch, HDDS-1458.007.patch
>
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> Some fault injection tests have been written using blockade.  It would be 
> nice to have ability to start docker compose and exercise the blockade test 
> cases against Ozone docker containers, and generate reports.  This is 
> optional integration tests to catch race conditions and fault tolerance 
> defects. 
> We can introduce a profile with id: it (short for integration tests).  This 
> will launch docker compose via maven-exec-plugin and run blockade to simulate 
> container failures and timeout.
> Usage command:
> {code}
> mvn clean verify -Pit
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to