Files
greptimedb/tests_fuzz/utils/index.html
2025-12-22 06:16:12 +00:00

2 lines
11 KiB
HTML

<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `utils` mod in crate `tests_fuzz`."><title>tests_fuzz::utils - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-6b053e98.ttf.woff2,FiraSans-Italic-81dc35de.woff2,FiraSans-Regular-0fe48ade.woff2,FiraSans-MediumItalic-ccf7e434.woff2,FiraSans-Medium-e1aa3f0a.woff2,SourceCodePro-Regular-8badfe75.ttf.woff2,SourceCodePro-Semibold-aa29a496.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2"href="../../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../../static.files/normalize-9960930a.css"><link rel="stylesheet" href="../../static.files/rustdoc-e56847b5.css"><meta name="rustdoc-vars" data-root-path="../../" data-static-root-path="../../static.files/" data-current-crate="tests_fuzz" data-themes="" data-resource-suffix="" data-rustdoc-version="1.92.0-nightly (fa3155a64 2025-09-30)" data-channel="nightly" data-search-js="search-e256b49e.js" data-stringdex-js="stringdex-828709d0.js" data-settings-js="settings-c38705f0.js" ><script src="../../static.files/storage-e2aeef58.js"></script><script defer src="../sidebar-items.js"></script><script defer src="../../static.files/main-ce535bd0.js"></script><noscript><link rel="stylesheet" href="../../static.files/noscript-263c88ec.css"></noscript><link rel="alternate icon" type="image/png" href="../../static.files/favicon-32x32-eab170b8.png"><link rel="icon" type="image/svg+xml" href="../../static.files/favicon-044be391.svg"></head><body class="rustdoc mod"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><rustdoc-topbar><h2><a href="#">Module utils</a></h2></rustdoc-topbar><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../../tests_fuzz/index.html">tests_<wbr>fuzz</a><span class="version">1.0.0-beta.3</span></h2></div><div class="sidebar-elems"><section id="rustdoc-toc"><h2 class="location"><a href="#">Module utils</a></h2><h3><a href="#modules">Module Items</a></h3><ul class="block"><li><a href="#modules" title="Modules">Modules</a></li><li><a href="#macros" title="Macros">Macros</a></li><li><a href="#structs" title="Structs">Structs</a></li><li><a href="#constants" title="Constants">Constants</a></li><li><a href="#functions" title="Functions">Functions</a></li></ul></section><div id="rustdoc-modnav"><h2 class="in-crate"><a href="../index.html">In crate tests_<wbr>fuzz</a></h2></div></div></nav><div class="sidebar-resizer" title="Drag to resize sidebar"></div><main><div class="width-limiter"><section id="main-content" class="content"><div class="main-heading"><div class="rustdoc-breadcrumbs"><a href="../index.html">tests_fuzz</a></div><h1>Module <span>utils</span>&nbsp;<button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><rustdoc-toolbar></rustdoc-toolbar><span class="sub-heading"><a class="src" href="../../src/tests_fuzz/utils.rs.html#15-168">Source</a> </span></div><h2 id="modules" class="section-header">Modules<a href="#modules" class="anchor">§</a></h2><dl class="item-table"><dt><a class="mod" href="cluster_info/index.html" title="mod tests_fuzz::utils::cluster_info">cluster_<wbr>info</a></dt><dt><a class="mod" href="config/index.html" title="mod tests_fuzz::utils::config">config</a></dt><dt><a class="mod" href="crd/index.html" title="mod tests_fuzz::utils::crd">crd</a></dt><dt><a class="mod" href="health/index.html" title="mod tests_fuzz::utils::health">health</a></dt><dt><a class="mod" href="migration/index.html" title="mod tests_fuzz::utils::migration">migration</a></dt><dt><a class="mod" href="partition/index.html" title="mod tests_fuzz::utils::partition">partition</a></dt><dt><a class="mod" href="pod_failure/index.html" title="mod tests_fuzz::utils::pod_failure">pod_<wbr>failure</a></dt><dt><a class="mod" href="procedure/index.html" title="mod tests_fuzz::utils::procedure">procedure</a></dt><dt><a class="mod" href="wait/index.html" title="mod tests_fuzz::utils::wait">wait</a></dt></dl><h2 id="macros" class="section-header">Macros<a href="#macros" class="anchor">§</a></h2><dl class="item-table"><dt><a class="macro" href="macro.make_get_from_env_helper.html" title="macro tests_fuzz::utils::make_get_from_env_helper">make_<wbr>get_<wbr>from_<wbr>env_<wbr>helper</a><span title="Restricted Visibility">&nbsp;🔒</span> </dt></dl><h2 id="structs" class="section-header">Structs<a href="#structs" class="anchor">§</a></h2><dl class="item-table"><dt><a class="struct" href="struct.Connections.html" title="struct tests_fuzz::utils::Connections">Connections</a></dt><dd>Database connections</dd><dt><a class="struct" href="struct.UnstableTestVariables.html" title="struct tests_fuzz::utils::UnstableTestVariables">Unstable<wbr>Test<wbr>Variables</a></dt><dd>The variables for unstable test</dd></dl><h2 id="constants" class="section-header">Constants<a href="#constants" class="anchor">§</a></h2><dl class="item-table"><dt><a class="constant" href="constant.FUZZ_OVERRIDE_PREFIX.html" title="constant tests_fuzz::utils::FUZZ_OVERRIDE_PREFIX">FUZZ_<wbr>OVERRIDE_<wbr>PREFIX</a></dt><dt><a class="constant" href="constant.GT_FUZZ_BINARY_PATH.html" title="constant tests_fuzz::utils::GT_FUZZ_BINARY_PATH">GT_<wbr>FUZZ_<wbr>BINARY_<wbr>PATH</a><span title="Restricted Visibility">&nbsp;🔒</span> </dt><dt><a class="constant" href="constant.GT_FUZZ_CLUSTER_NAME.html" title="constant tests_fuzz::utils::GT_FUZZ_CLUSTER_NAME">GT_<wbr>FUZZ_<wbr>CLUSTER_<wbr>NAME</a></dt><dt><a class="constant" href="constant.GT_FUZZ_CLUSTER_NAMESPACE.html" title="constant tests_fuzz::utils::GT_FUZZ_CLUSTER_NAMESPACE">GT_<wbr>FUZZ_<wbr>CLUSTER_<wbr>NAMESPACE</a></dt><dt><a class="constant" href="constant.GT_FUZZ_INPUT_MAX_ALTER_ACTIONS.html" title="constant tests_fuzz::utils::GT_FUZZ_INPUT_MAX_ALTER_ACTIONS">GT_<wbr>FUZZ_<wbr>INPUT_<wbr>MAX_<wbr>ALTER_<wbr>ACTIONS</a></dt><dt><a class="constant" href="constant.GT_FUZZ_INPUT_MAX_COLUMNS.html" title="constant tests_fuzz::utils::GT_FUZZ_INPUT_MAX_COLUMNS">GT_<wbr>FUZZ_<wbr>INPUT_<wbr>MAX_<wbr>COLUMNS</a></dt><dt><a class="constant" href="constant.GT_FUZZ_INPUT_MAX_INSERT_ACTIONS.html" title="constant tests_fuzz::utils::GT_FUZZ_INPUT_MAX_INSERT_ACTIONS">GT_<wbr>FUZZ_<wbr>INPUT_<wbr>MAX_<wbr>INSERT_<wbr>ACTIONS</a></dt><dt><a class="constant" href="constant.GT_FUZZ_INPUT_MAX_ROWS.html" title="constant tests_fuzz::utils::GT_FUZZ_INPUT_MAX_ROWS">GT_<wbr>FUZZ_<wbr>INPUT_<wbr>MAX_<wbr>ROWS</a></dt><dt><a class="constant" href="constant.GT_FUZZ_INPUT_MAX_TABLES.html" title="constant tests_fuzz::utils::GT_FUZZ_INPUT_MAX_TABLES">GT_<wbr>FUZZ_<wbr>INPUT_<wbr>MAX_<wbr>TABLES</a></dt><dt><a class="constant" href="constant.GT_FUZZ_INSTANCE_ROOT_DIR.html" title="constant tests_fuzz::utils::GT_FUZZ_INSTANCE_ROOT_DIR">GT_<wbr>FUZZ_<wbr>INSTANCE_<wbr>ROOT_<wbr>DIR</a><span title="Restricted Visibility">&nbsp;🔒</span> </dt><dt><a class="constant" href="constant.GT_MYSQL_ADDR.html" title="constant tests_fuzz::utils::GT_MYSQL_ADDR">GT_<wbr>MYSQL_<wbr>ADDR</a><span title="Restricted Visibility">&nbsp;🔒</span> </dt></dl><h2 id="functions" class="section-header">Functions<a href="#functions" class="anchor">§</a></h2><dl class="item-table"><dt><a class="fn" href="fn.compact_table.html" title="fn tests_fuzz::utils::compact_table">compact_<wbr>table</a></dt><dd>Triggers a compaction for table</dd><dt><a class="fn" href="fn.flush_memtable.html" title="fn tests_fuzz::utils::flush_memtable">flush_<wbr>memtable</a></dt><dd>Flushes memtable to SST file.</dd><dt><a class="fn" href="fn.get_from_env_or_default_value.html" title="fn tests_fuzz::utils::get_from_env_or_default_value">get_<wbr>from_<wbr>env_<wbr>or_<wbr>default_<wbr>value</a><span title="Restricted Visibility">&nbsp;🔒</span> </dt><dd>Retrieves a value from the environment variables
or returns a default value if the environment variable is not set.</dd><dt><a class="fn" href="fn.get_fuzz_override.html" title="fn tests_fuzz::utils::get_fuzz_override">get_<wbr>fuzz_<wbr>override</a></dt><dd>Reads an override value for a fuzz parameter from env <code>GT_FUZZ_OVERRIDE_&lt;NAME&gt;</code>.</dd><dt><a class="fn" href="fn.get_gt_fuzz_input_max_alter_actions.html" title="fn tests_fuzz::utils::get_gt_fuzz_input_max_alter_actions">get_<wbr>gt_<wbr>fuzz_<wbr>input_<wbr>max_<wbr>alter_<wbr>actions</a></dt><dd>Retrieves <code>GT_FUZZ_INPUT_MAX_ALTER_ACTIONS</code> environment variable or returns a default value (<code>256</code>) if the environment variable is not set.</dd><dt><a class="fn" href="fn.get_gt_fuzz_input_max_columns.html" title="fn tests_fuzz::utils::get_gt_fuzz_input_max_columns">get_<wbr>gt_<wbr>fuzz_<wbr>input_<wbr>max_<wbr>columns</a></dt><dd>Retrieves <code>GT_FUZZ_INPUT_MAX_COLUMNS</code> environment variable or returns a default value (<code>16</code>) if the environment variable is not set.</dd><dt><a class="fn" href="fn.get_gt_fuzz_input_max_insert_actions.html" title="fn tests_fuzz::utils::get_gt_fuzz_input_max_insert_actions">get_<wbr>gt_<wbr>fuzz_<wbr>input_<wbr>max_<wbr>insert_<wbr>actions</a></dt><dd>Retrieves <code>GT_FUZZ_INPUT_MAX_INSERT_ACTIONS</code> environment variable or returns a default value (<code>4</code>) if the environment variable is not set.</dd><dt><a class="fn" href="fn.get_gt_fuzz_input_max_rows.html" title="fn tests_fuzz::utils::get_gt_fuzz_input_max_rows">get_<wbr>gt_<wbr>fuzz_<wbr>input_<wbr>max_<wbr>rows</a></dt><dd>Retrieves <code>GT_FUZZ_INPUT_MAX_ROWS</code> environment variable or returns a default value (<code>512</code>) if the environment variable is not set.</dd><dt><a class="fn" href="fn.get_gt_fuzz_input_max_tables.html" title="fn tests_fuzz::utils::get_gt_fuzz_input_max_tables">get_<wbr>gt_<wbr>fuzz_<wbr>input_<wbr>max_<wbr>tables</a></dt><dd>Retrieves <code>GT_FUZZ_INPUT_MAX_TABLES</code> environment variable or returns a default value (<code>32</code>) if the environment variable is not set.</dd><dt><a class="fn" href="fn.init_greptime_connections.html" title="fn tests_fuzz::utils::init_greptime_connections">init_<wbr>greptime_<wbr>connections</a></dt><dd>Connects to GreptimeDB.</dd><dt><a class="fn" href="fn.init_greptime_connections_via_env.html" title="fn tests_fuzz::utils::init_greptime_connections_via_env">init_<wbr>greptime_<wbr>connections_<wbr>via_<wbr>env</a></dt><dd>Connects to GreptimeDB via env variables.</dd><dt><a class="fn" href="fn.load_unstable_test_env_variables.html" title="fn tests_fuzz::utils::load_unstable_test_env_variables">load_<wbr>unstable_<wbr>test_<wbr>env_<wbr>variables</a></dt><dd>Loads env variables for unstable test</dd></dl></section></div></main></body></html>