hadoop/hadoop-ozone/dist/src/main/blockade
Mukul Kumar Singh 13aa939224 HDDS-997. Add blockade Tests for scm isolation and mixed node isolation. Contributed by Nilotpal Nandi. 2019-02-01 13:10:17 +05:30
..
blockadeUtils HDDS-997. Add blockade Tests for scm isolation and mixed node isolation. Contributed by Nilotpal Nandi. 2019-02-01 13:10:17 +05:30
clusterUtils HDDS-997. Add blockade Tests for scm isolation and mixed node isolation. Contributed by Nilotpal Nandi. 2019-02-01 13:10:17 +05:30
README.md HDDS-997. Add blockade Tests for scm isolation and mixed node isolation. Contributed by Nilotpal Nandi. 2019-02-01 13:10:17 +05:30
conftest.py HDDS-997. Add blockade Tests for scm isolation and mixed node isolation. Contributed by Nilotpal Nandi. 2019-02-01 13:10:17 +05:30
test_blockade_datanode_isolation.py HDDS-997. Add blockade Tests for scm isolation and mixed node isolation. Contributed by Nilotpal Nandi. 2019-02-01 13:10:17 +05:30
test_blockade_flaky.py HDDS-997. Add blockade Tests for scm isolation and mixed node isolation. Contributed by Nilotpal Nandi. 2019-02-01 13:10:17 +05:30
test_blockade_mixed_failure.py HDDS-997. Add blockade Tests for scm isolation and mixed node isolation. Contributed by Nilotpal Nandi. 2019-02-01 13:10:17 +05:30
test_blockade_scm_isolation.py HDDS-997. Add blockade Tests for scm isolation and mixed node isolation. Contributed by Nilotpal Nandi. 2019-02-01 13:10:17 +05:30

README.md

Blockade Tests

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

  1. blockade
  2. pytest==2.8.7

You can execute all blockade tests with following command-lines:

cd $DIRECTORY_OF_OZONE
python -m pytest -s  blockade/

You can also execute fewer blockade tests with following command-lines:

cd $DIRECTORY_OF_OZONE
python -m pytest -s  blockade/<PATH_TO_PYTHON_FILE>
e.g: python -m pytest -s blockade/test_blockade_datanode_isolation.py

You can change the default 'sleep' interval in the tests with following command-lines:

cd $DIRECTORY_OF_OZONE
python -m pytest -s  blockade/ --containerStatusSleep=<SECONDS>

e.g: python -m pytest -s  blockade/ --containerStatusSleep=720