Module utils

Source

Modulesยง

cluster_info
config
crd
health
migration
partition
pod_failure
procedure
wait

Macrosยง

make_get_from_env_helper ๐Ÿ”’

Structsยง

Connections
Database connections
UnstableTestVariables
The variables for unstable test

Constantsยง

GT_FUZZ_BINARY_PATH ๐Ÿ”’
GT_FUZZ_CLUSTER_NAME
GT_FUZZ_CLUSTER_NAMESPACE
GT_FUZZ_INPUT_MAX_ALTER_ACTIONS
GT_FUZZ_INPUT_MAX_COLUMNS
GT_FUZZ_INPUT_MAX_INSERT_ACTIONS
GT_FUZZ_INPUT_MAX_ROWS
GT_FUZZ_INPUT_MAX_TABLES
GT_FUZZ_INSTANCE_ROOT_DIR ๐Ÿ”’
GT_MYSQL_ADDR ๐Ÿ”’

Functionsยง

compact_table
Triggers a compaction for table
flush_memtable
Flushes memtable to SST file.
get_from_env_or_default_value ๐Ÿ”’
Retrieves a value from the environment variables or returns a default value if the environment variable is not set.
get_gt_fuzz_input_max_alter_actions
Retrieves GT_FUZZ_INPUT_MAX_ALTER_ACTIONS environment variable or returns a default value (256) if the environment variable is not set.
get_gt_fuzz_input_max_columns
Retrieves GT_FUZZ_INPUT_MAX_COLUMNS environment variable or returns a default value (16) if the environment variable is not set.
get_gt_fuzz_input_max_insert_actions
Retrieves GT_FUZZ_INPUT_MAX_INSERT_ACTIONS environment variable or returns a default value (4) if the environment variable is not set.
get_gt_fuzz_input_max_rows
Retrieves GT_FUZZ_INPUT_MAX_ROWS environment variable or returns a default value (512) if the environment variable is not set.
get_gt_fuzz_input_max_tables
Retrieves GT_FUZZ_INPUT_MAX_TABLES environment variable or returns a default value (32) if the environment variable is not set.
init_greptime_connections
Connects to GreptimeDB.
init_greptime_connections_via_env
Connects to GreptimeDB via env variables.
load_unstable_test_env_variables
Loads env variables for unstable test