tree: 740febf1b251ad54c19342d74d74e99cf8b90c61 [path history] [tgz]
  1. README.md
  2. conftest.py
  3. ozone/
  4. test_blockade_client_failure.py
  5. test_blockade_datanode_isolation.py
  6. test_blockade_flaky.py
  7. test_blockade_mixed_failure.py
  8. test_blockade_mixed_failure_three_nodes_isolate.py
  9. test_blockade_mixed_failure_two_nodes.py
  10. test_blockade_scm_isolation.py
hadoop-ozone/fault-injection-test/network-tests/src/test/blockade/README.md

Blockade Tests

Following python packages need to be installed before running the tests :

  1. blockade
  2. pytest==3.2.0

Running test as part of the maven build:

mvn clean verify -Pit

Running test as part of the released binary:

You can execute all blockade tests with following command:

cd $OZONE_HOME
python -m pytest tests/blockade

You can also execute specific blockade tests with following command:

cd $OZONE_HOME
python -m pytest tests/blockade/< PATH TO PYTHON FILE >
e.g: python -m pytest tests/blockade/test_blockade_datanode_isolation.py