Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions hadoop-hdds/docs/content/tools/TestTools.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Note: we have more tests (like TCP-DS, TCP-H tests via Spark or Hive) which are

## Unit test

As every almost every java project we have the good old unit tests inside each of our projects.
As with every Java project, we have the good old unit tests within each of our projects.

## Integration test (JUnit)

Expand Down Expand Up @@ -56,11 +56,11 @@ cd compose/ozone

[Blockade](https://github.com/worstcase/blockade) is a tool to test network failures and partitions (it's inspired by the legendary [Jepsen tests](https://jepsen.io/analyses)).

Blockade tests are implemented with the help of tests and can be started from the `./blockade` directory of the distribution.
The Blockade test suite is shipped as Python tests under `tests/blockade`. After you build or unpack the distribution, run the commands below from that directory:

```
cd blockade
pip install pytest==2.8.7,blockade
cd tests/blockade
pip install pytest==2.8.7 blockade
python -m pytest -s .
```

Expand All @@ -82,7 +82,7 @@ The number of volumes/buckets/keys can be configured. The replication type and f

For more information use:

bin/ozone freon --help
ozone freon --help

For example:

Expand Down
8 changes: 4 additions & 4 deletions hadoop-hdds/docs/content/tools/TestTools.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,11 @@ cd compose/ozone

[Blockade](https://github.com/worstcase/blockade) 是一个测试网络故障和分片的工具(灵感来自于大名鼎鼎的[Jepsen 测试](https://jepsen.io/analyses))。

Blockade 测试在其它测试的基础上实现,可以在分发包中的 `./blockade` 目录下进行测试。
Blockade 测试以 Python 脚本形式包含在 `tests/blockade` 目录中。构建或解压发行包后,进入该目录并运行下面的命令:

```
cd blockade
pip install pytest==2.8.7,blockade
cd tests/blockade
pip install pytest==2.8.7 blockade
python -m pytest -s .
```

Expand All @@ -83,7 +83,7 @@ volume/bucket/key的数量是可以配置的。副本type和factor(例如: 3个

更多信息,可使用如下命令查看:

bin/ozone freon --help
ozone freon --help

例如:

Expand Down