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

Elek, Marton commented on HDDS-1554:
------------------------------------

1. Color coded robot framework tests executed with jenkins:

https://ci.anzix.net/job/ozone-nightly/121/artifact/hadoop-ozone/dist/target/ozone-0.5.0-SNAPSHOT/smoketest/result/log.html

It works.

2. Sorry, I am lost. You wrote that junit test is better because it can access 
the internal state: " For example, how to introspect that authentication is 
verified on the server side instead of Java client. Robots framework can not 
tap into JVM to give us the answer that we seek, but a junit test can."

I think we can agree that junit and a cli have exactly the same chance to 
access the internal state of a remote backend in the running container.

3. Remote debug is an independent question. I agree it's very useful and I use 
it all the time. Can be used on any kind of docker-compose based pseudo cluster.
 

> Create disk tests for fault injection test
> ------------------------------------------
>
>                 Key: HDDS-1554
>                 URL: https://issues.apache.org/jira/browse/HDDS-1554
>             Project: Hadoop Distributed Data Store
>          Issue Type: Improvement
>          Components: build
>            Reporter: Eric Yang
>            Assignee: Eric Yang
>            Priority: Major
>         Attachments: HDDS-1554.001.patch
>
>
> The current plan for fault injection disk tests are:
>  # Scenario 1 - Read/Write test
>  ## Run docker-compose to bring up a cluster
>  ## Initialize scm and om
>  ## Upload data to Ozone cluster
>  ## Verify data is correct
>  ## Shutdown cluster
>  # Scenario 2 - Read/Only test
>  ## Repeat Scenario 1
>  ## Mount data disk as read only
>  ## Try to write data to Ozone cluster
>  ## Validate error message is correct
>  ## Shutdown cluster
>  # Scenario 3 - Corruption test
>  ## Repeat Scenario 2
>  ## Shutdown cluster
>  ## Modify data disk data
>  ## Restart cluster
>  ## Validate error message for read from corrupted data
>  ## Validate error message for write to corrupted volume



--
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