HDDS-1458. Create a maven profile to run fault injection tests #800
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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}
See: https://issues.apache.org/jira/browse/HDDS-1458