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

Eric Yang commented on HADOOP-16325:
------------------------------------

[~arp] Yes, running the command can serve as test in the build environment.  
Existing unit test script already cover this area.  This is the reason that no 
new test was written.

For testing docker build, run:

{code}mvn clean install -Pdist,docker{code}

For testing pytest is working, HDDS-1458 patch can serve as a test case to 
verify pytest is working:

{code}mvn clean verify -Pit{code}

> Add ability to run python test and build docker in docker in 
> start-build-env.sh
> -------------------------------------------------------------------------------
>
>                 Key: HADOOP-16325
>                 URL: https://issues.apache.org/jira/browse/HADOOP-16325
>             Project: Hadoop Common
>          Issue Type: Improvement
>            Reporter: Eric Yang
>            Assignee: Eric Yang
>            Priority: Major
>         Attachments: HADOOP-16325.001.patch, HADOOP-16325.002.patch, 
> HADOOP-16325.003.patch
>
>
> Ozone uses docker-compose, pytest and blockade to simulate network failure.  
> It would be great to have ability to run these integration test tools in the 
> developer docker environment.
> Ozone and YARN have optional profiles to build docker images using -Pdocker.  
> It would be a good addition to have ability to build docker image inside the 
> developer docker environment as well.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to