mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 23:21:59 +00:00
Update adding_test_queries.md
This commit is contained in:
parent
d01af70a00
commit
1d86a995a1
@ -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.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user