This is an automated email from the ASF dual-hosted git repository.

elek pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/hadoop.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 7b8177b  HDDS-1791. Update network-tests/src/test/blockade/README.md 
file
7b8177b is described below

commit 7b8177ba0fe1a5a0b322af75e77547baac761865
Author: Nanda kumar <na...@apache.org>
AuthorDate: Fri Jul 12 14:38:22 2019 +0200

    HDDS-1791. Update network-tests/src/test/blockade/README.md file
    
    Closes #1083
---
 .../network-tests/src/test/blockade/README.md      | 40 ++++++----------------
 1 file changed, 11 insertions(+), 29 deletions(-)

diff --git 
a/hadoop-ozone/fault-injection-test/network-tests/src/test/blockade/README.md 
b/hadoop-ozone/fault-injection-test/network-tests/src/test/blockade/README.md
index b9f3c73..7fb62b3 100644
--- 
a/hadoop-ozone/fault-injection-test/network-tests/src/test/blockade/README.md
+++ 
b/hadoop-ozone/fault-injection-test/network-tests/src/test/blockade/README.md
@@ -16,45 +16,27 @@
 Following python packages need to be installed before running the tests :
 
 1. blockade
-2. pytest==2.8.7
+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-lines:
-
 ```
-cd $DIRECTORY_OF_OZONE
-python -m pytest -s  tests/blockade/
+mvn clean verify -Pit
 ```
 
-You can also execute fewer blockade tests with following command-lines:
-
-```
-cd $DIRECTORY_OF_OZONE
-python -m pytest -s  tests/blockade/<PATH_TO_PYTHON_FILE>
-e.g: python -m pytest -s tests/blockade/test_blockade_datanode_isolation.py
-```
+Running test as part of the released binary:
 
-You can change the default 'sleep' interval in the tests with following
-command-lines:
+You can execute all blockade tests with following command:
 
 ```
-cd $DIRECTORY_OF_OZONE
-python -m pytest -s  tests/blockade/ --containerStatusSleep=<SECONDS>
-
-e.g: python -m pytest -s  tests/blockade/ --containerStatusSleep=720
+cd $OZONE_HOME
+python -m pytest tests/blockade
 ```
 
-By default, second phase of the tests will not be run.
-In order to run the second phase of the tests, you can run following
-command-lines:
-
-```
-cd $DIRECTORY_OF_OZONE
-python -m pytest -s  tests/blockade/ --runSecondPhase=true
+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
+```
\ No newline at end of file


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-commits-h...@hadoop.apache.org

Reply via email to