[
https://issues.apache.org/jira/browse/HDDS-1458?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16841790#comment-16841790
]
Anu Engineer commented on HDDS-1458:
------------------------------------
{quote}The current test does not spawn real cluster. The current approach has
two limitations that tie the tests into a single node.
{quote}
It simulates a cluster via launching a set of containers. From Ozone's
perspective is a cluster.
{quote}Blockade [does not support docker
swarm|https://blockade.readthedocs.io/en/latest/install.html] to test real
distributed cluster.
{quote}
Again you misunderstood me, that is not what I am saying, I am saying from
Ozone's point of view, a set of containers looks and feels like a set of
processes running on different machines.
{quote}This is the reason that I was not planning to expose the disk tests
using the current design beyond development environment.
{quote}
Sorry this makes no sense. If you want simulate disk failures, it is easier
with a container based approach and it really does not matter where the
containers run. I would suggest that you make this running on a single machine
first, and allowing the current tool chain to work. Thanks
> 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: [email protected]
For additional commands, e-mail: [email protected]