2020-07-02 15:58:13 +00:00
|
|
|
#!/usr/bin/env python3
|
|
|
|
import sys
|
|
|
|
from testflows.core import *
|
|
|
|
|
2020-07-22 11:35:54 +00:00
|
|
|
append_path(sys.path, ".")
|
2020-07-02 15:58:13 +00:00
|
|
|
|
|
|
|
from helpers.argparser import argparser
|
|
|
|
|
|
|
|
@TestModule
|
|
|
|
@Name("clickhouse")
|
|
|
|
@ArgumentParser(argparser)
|
2020-10-15 20:23:49 +00:00
|
|
|
def regression(self, local, clickhouse_binary_path, stress=None, parallel=None):
|
2020-07-02 15:58:13 +00:00
|
|
|
"""ClickHouse regression.
|
|
|
|
"""
|
2020-10-15 20:23:49 +00:00
|
|
|
args = {"local": local, "clickhouse_binary_path": clickhouse_binary_path, "stress": stress, "parallel": parallel}
|
2020-07-07 22:05:34 +00:00
|
|
|
|
2021-01-18 22:03:31 +00:00
|
|
|
Feature(test=load("example.regression", "regression"))(**args)
|
|
|
|
Feature(test=load("ldap.regression", "regression"))(**args)
|
|
|
|
Feature(test=load("rbac.regression", "regression"))(**args)
|
|
|
|
Feature(test=load("aes_encryption.regression", "regression"))(**args)
|
2021-03-11 20:41:10 +00:00
|
|
|
# Feature(test=load("kerberos.regression", "regression"))(**args)
|
2020-07-02 15:58:13 +00:00
|
|
|
|
|
|
|
if main():
|
|
|
|
regression()
|