mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
tests: add no-stress tag
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
This commit is contained in:
parent
e79c24deda
commit
e307a728ca
@ -288,6 +288,7 @@ if __name__ == "__main__":
|
||||
# Use system database to avoid CREATE/DROP DATABASE queries
|
||||
"--database=system",
|
||||
"--hung-check",
|
||||
"--stress",
|
||||
"00001_select_1",
|
||||
]
|
||||
)
|
||||
|
@ -385,6 +385,7 @@ class FailureReason(enum.Enum):
|
||||
NO_LONG = "not running long tests"
|
||||
REPLICATED_DB = "replicated-database"
|
||||
S3_STORAGE = "s3-storage"
|
||||
STRESS = "stress"
|
||||
BUILD = "not running for current build"
|
||||
BACKWARD_INCOMPATIBLE = "test is backward incompatible"
|
||||
|
||||
@ -683,6 +684,9 @@ class TestCase:
|
||||
elif tags and ("no-s3-storage" in tags) and args.s3_storage:
|
||||
return FailureReason.S3_STORAGE
|
||||
|
||||
elif tags and ("no-stress" in tags) and args.stress:
|
||||
return FailureReason.STRESS
|
||||
|
||||
elif tags:
|
||||
for build_flag in args.build_flags:
|
||||
if "no-" + build_flag in tags:
|
||||
@ -1961,6 +1965,12 @@ if __name__ == "__main__":
|
||||
default=False,
|
||||
help="Run tests over s3 storage",
|
||||
)
|
||||
parser.add_argument(
|
||||
"--stress",
|
||||
action="store_true",
|
||||
default=False,
|
||||
help="Run stress tests",
|
||||
)
|
||||
parser.add_argument(
|
||||
"--no-random-settings",
|
||||
action="store_true",
|
||||
|
Loading…
Reference in New Issue
Block a user