Modulesยง
- cluster_
info - config
- crd
- csv_
dump_ writer - CSV dump writer utilities for fuzz tests.
- health
- migration
- partition
- pod_
failure - procedure
- retry
- sql_
dump_ writer - SQL dump writer utilities for fuzz tests.
- wait
Macrosยง
Structsยง
- Connections
- Database connections
- Unstable
Test Variables - The variables for unstable test
Constantsยง
- FUZZ_
OVERRIDE_ PREFIX - GT_
FUZZ_ ๐BINARY_ PATH - GT_
FUZZ_ CLUSTER_ NAME - GT_
FUZZ_ CLUSTER_ NAMESPACE - GT_
FUZZ_ DUMP_ BUFFER_ MAX_ BYTES - Max in-memory CSV buffer size before auto flush.
- GT_
FUZZ_ DUMP_ DIR - Base directory for CSV dump sessions.
- GT_
FUZZ_ DUMP_ SUFFIX - Directory suffix used by one CSV dump session.
- GT_
FUZZ_ DUMP_ TABLE_ CSV - Enables CSV dump generation for fuzz runs.
- 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_
fuzz_ override - Reads an override value for a fuzz parameter from env
GT_FUZZ_OVERRIDE_<NAME>. - get_
gt_ fuzz_ dump_ buffer_ max_ bytes - Returns max CSV in-memory buffer size.
- get_
gt_ fuzz_ dump_ dir - Returns CSV dump base directory.
- get_
gt_ fuzz_ dump_ suffix - Returns CSV dump directory suffix.
- get_
gt_ fuzz_ input_ max_ alter_ actions - Retrieves
GT_FUZZ_INPUT_MAX_ALTER_ACTIONSenvironment 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_COLUMNSenvironment 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_ACTIONSenvironment 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_ROWSenvironment 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_TABLESenvironment 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