ClickHouse/tests/testflows/regression.py

23 lines
654 B
Python
Raw Normal View History

#!/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}
2020-07-07 22:05:34 +00:00
Feature(test=load("example.regression", "regression"))(**args)
Feature(test=load("ldap.regression", "regression"))(**args)
Feature(test=load("rbac.regression", "regression"))(**args)
if main():
regression()