mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 17:12:03 +00:00
4b87ae684c
Updating RBAC to run on the latest master. Fixing ldap SRS reference issue.
36 lines
1.4 KiB
Python
Executable File
36 lines
1.4 KiB
Python
Executable File
#!/usr/bin/env python3
|
|
import sys
|
|
from testflows.core import *
|
|
|
|
append_path(sys.path, ".")
|
|
|
|
from helpers.common import Pool, join, run_scenario
|
|
from helpers.argparser import argparser
|
|
|
|
@TestModule
|
|
@Name("clickhouse")
|
|
@ArgumentParser(argparser)
|
|
def regression(self, local, clickhouse_binary_path, stress=None, parallel=None):
|
|
"""ClickHouse regression.
|
|
"""
|
|
top().terminating = False
|
|
args = {"local": local, "clickhouse_binary_path": clickhouse_binary_path, "stress": stress, "parallel": parallel}
|
|
|
|
self.context.stress = stress
|
|
self.context.parallel = parallel
|
|
|
|
tasks = []
|
|
with Pool(7) as pool:
|
|
try:
|
|
run_scenario(pool, tasks, Feature(test=load("example.regression", "regression")), args)
|
|
run_scenario(pool, tasks, Feature(test=load("ldap.regression", "regression")), args)
|
|
run_scenario(pool, tasks, Feature(test=load("rbac.regression", "regression")), args)
|
|
run_scenario(pool, tasks, Feature(test=load("aes_encryption.regression", "regression")), args)
|
|
run_scenario(pool, tasks, Feature(test=load("map_type.regression", "regression")), args)
|
|
run_scenario(pool, tasks, Feature(test=load("window_functions.regression", "regression")), args)
|
|
# run_scenario(pool, tasks, Feature(test=load("kerberos.regression", "regression")), args)
|
|
finally:
|
|
join(tasks)
|
|
if main():
|
|
regression()
|