Update adding_test_queries.md

This commit is contained in:
alexey-milovidov 2021-07-13 04:50:41 +03:00 committed by GitHub
parent d01af70a00
commit 1d86a995a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -130,12 +130,11 @@ clickhouse-client -nmT < tests/queries/0_stateless/01521_dummy_test.sql | tee te
It's important to name tests correctly, so one could turn some tests subset off in clickhouse-test invocation.
| Tester flag| What should be in test name | When flag should be added | Example of test with flag |
| Tester flag| What should be in test name | When flag should be added |
|---|---|---|---|
| `--[no-]zookeeper`| "zookeeper" or "replica" | Test uses tables from ReplicatedMergeTree family | |
| `--[no-]shard` | "shard" or "distributed" or "global"| | |
| `--[no-]long` | "long" or "deadlock" or "race" | Test runs longer than TODO seconds | |
| `--[no-]pbi `| "pbi" | Test exploits Possibly Broken Invariants e.g. that CH is located in /var/lib/clickhouse | |
| `--[no-]zookeeper`| "zookeeper" or "replica" | Test uses tables from ReplicatedMergeTree family |
| `--[no-]shard` | "shard" or "distributed" or "global"| Test using connections to 127.0.0.2 or similar |
| `--[no-]long` | "long" or "deadlock" or "race" | Test runs longer than 60 seconds |
#### Commit / push / create PR.