ClickHouse/tests/testflows/regression.py
2021-03-17 19:47:42 +03:00

25 lines
836 B
Python
Executable File

#!/usr/bin/env python3
import sys
from testflows.core import *
append_path(sys.path, ".")
from helpers.argparser import argparser
@TestModule
@Name("clickhouse")
@ArgumentParser(argparser)
def regression(self, local, clickhouse_binary_path, stress=None, parallel=None):
"""ClickHouse regression.
"""
args = {"local": local, "clickhouse_binary_path": clickhouse_binary_path, "stress": stress, "parallel": parallel}
Feature(test=load("example.regression", "regression"))(**args)
Feature(test=load("ldap.regression", "regression"), flags=TE)(**args)
Feature(test=load("rbac.regression", "regression"), flags=TE)(**args)
Feature(test=load("aes_encryption.regression", "regression"), flags=TE)(**args)
Feature(test=load("kerberos.regression", "regression"), flags=TE)(**args)
if main():
regression()