test/

directory
v0.12.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 6, 2026 License: Apache-2.0

Directories

Path Synopsis
Package cases provides some tools to access test data.
Package cases provides some tools to access test data.
backup
Package backup_test provides the test cases for the backup command-line tool.
Package backup_test provides the test cases for the backup command-line tool.
capacity
Package capacity finds, on a node whose query memory is pinned, the largest limit each data model can serve from a data set far larger than that limit: a ladder of growing limits, whose top rung is the capacity of the node.
Package capacity finds, on a node whose query memory is pinned, the largest limit each data model can serve from a data set far larger than that limit: a ladder of growing limits, whose top rung is the capacity of the node.
lifecycle
Package lifecycle_test is the test cases for the lifecycle package.
Package lifecycle_test is the test cases for the lifecycle package.
measure
Package measure_test contains integration test cases of the measure.
Package measure_test contains integration test cases of the measure.
measure/budget
Package budget holds the measure query-budget integration case shared by the standalone and distributed suites: a query over more block bytes than the per-query allowance must fail with RESOURCE_EXHAUSTED, not a generic error.
Package budget holds the measure query-budget integration case shared by the standalone and distributed suites: a query over more block bytes than the per-query allowance must fail with RESOURCE_EXHAUSTED, not a generic error.
measure/cmd/generate command
Package main implements the capture subcommand for the test-case generator.
Package main implements the capture subcommand for the test-case generator.
measure/data
Package data contains integration test cases of the measure.
Package data contains integration test cases of the measure.
measure/qlgen
Package qlgen generates QL-only integration contracts from a finite model.
Package qlgen generates QL-only integration contracts from a finite model.
nativelog
Package nativelog holds the integration cases for native self-storage of a node's own log events.
Package nativelog holds the integration cases for native self-storage of a node's own log events.
property
Package property includes test cases for property queries.
Package property includes test cases for property queries.
property/data
Package data includes utilities for property test data management and verification.
Package data includes utilities for property test data management and verification.
schema
Package schema contains shared test cases for schema-related functionality.
Package schema contains shared test cases for schema-related functionality.
stream
Package stream_test contains integration test cases of the stream.
Package stream_test contains integration test cases of the stream.
stream/budget
Package budget holds the stream query-budget integration case shared by the standalone and distributed suites: a query over more block bytes than the per-query allowance must fail with RESOURCE_EXHAUSTED, not a generic error.
Package budget holds the stream query-budget integration case shared by the standalone and distributed suites: a query over more block bytes than the per-query allowance must fail with RESOURCE_EXHAUSTED, not a generic error.
stream/cmd/generate command
Package main generates stream query integration-test cases (input/*.ql, input/*.yaml, want/*.yaml).
Package main generates stream query integration-test cases (input/*.ql, input/*.yaml, want/*.yaml).
stream/data
Package data contains integration test cases of the stream.
Package data contains integration test cases of the stream.
topn
Package topn_test contains integration test cases of the TopN.
Package topn_test contains integration test cases of the TopN.
topn/data
Package data contains integration test cases of the topN.
Package data contains integration test cases of the topN.
trace
Package trace_test contains integration test cases of the trace.
Package trace_test contains integration test cases of the trace.
trace/cmd/generate command
Package main generates trace query integration-test cases (input/*.ql and input/*.yml).
Package main generates trace query integration-test cases (input/*.ql and input/*.yml).
trace/data
Package data is used to test the trace service.
Package data is used to test the trace service.
tracepipeline
Package tracepipeline_test contains integration test cases for the trace pipeline filter.
Package tracepipeline_test contains integration test cases for the trace pipeline filter.
tracepipeline/data
Package data is used to test the trace pipeline service.
Package data is used to test the trace pipeline service.
e2e-v2
cases/transfer/common/checker command
Command checker validates a bydbctl CSV export artifact row by row and prints the result as yaml for the e2e expectations:
Command checker validates a bydbctl CSV export artifact row by row and prints the result as yaml for the e2e expectations:
integration
distributed
Package distributed is a distributed integration test suite.
Package distributed is a distributed integration test suite.
distributed/backup
Package backup and recovery tests for different storage types in distributed mode.
Package backup and recovery tests for different storage types in distributed mode.
distributed/cluster_state
Package clusterstate provides shared test setup for distributed cluster state integration tests.
Package clusterstate provides shared test setup for distributed cluster state integration tests.
distributed/deletion
Package deletion provides shared test setup for distributed group deletion integration tests.
Package deletion provides shared test setup for distributed group deletion integration tests.
distributed/inspection
Package inspection provides shared test setup for the inspect functionality in distributed mode.
Package inspection provides shared test setup for the inspect functionality in distributed mode.
distributed/lifecycle
Package lifecycle provides shared test setup for distributed lifecycle integration tests.
Package lifecycle provides shared test setup for distributed lifecycle integration tests.
distributed/multi_segments
Package multisegments provides shared test setup for distributed multi-segment integration tests.
Package multisegments provides shared test setup for distributed multi-segment integration tests.
distributed/nativelog
Package nativelog runs the native self-stored log cases against a data node whose rows are read through a liaison.
Package nativelog runs the native self-stored log cases against a data node whose rows are read through a liaison.
distributed/nativelog_failover
Package nativelogfailover checks where a liaison's own logs are stored: its write queue syncs them to the data node of shard 0 of the log group, and to the next data node once that one stops.
Package nativelogfailover checks where a liaison's own logs are stored: its write queue syncs them to the data node of shard 0 of the log group, and to the next data node once that one stops.
distributed/nativelog_liaison
Package nativelogliaison runs the native self-stored log cases against a liaison, whose write queue stores its own logs on a data node.
Package nativelogliaison runs the native self-stored log cases against a liaison, whose write queue stores its own logs on a data node.
distributed/nativelog_producer
Package nativelogproducer runs the native self-stored log cases against a producer with no storage engine, such as backup or lifecycle, that writes its logs to a data node's cluster server.
Package nativelogproducer runs the native self-stored log cases against a producer with no storage engine, such as backup or lifecycle, that writes its logs to a data node's cluster server.
distributed/nativelog_producer_public
Package nativelogproducerpublic runs the native self-stored log cases against a producer with no storage engine, such as an FODC agent beside a liaison or the FODC proxy, that writes its logs through a liaison's public write API.
Package nativelogproducerpublic runs the native self-stored log cases against a producer with no storage engine, such as an FODC agent beside a liaison or the FODC proxy, that writes its logs through a liaison's public write API.
distributed/query
Package query contains integration tests for distributed query.
Package query contains integration tests for distributed query.
distributed/querybench
Package querybench is the docker-gated distributed-query benchmark harness that drives row vs vec mode comparisons across scenarios and cardinalities.
Package querybench is the docker-gated distributed-query benchmark harness that drives row vs vec mode comparisons across scenarios and cardinalities.
distributed/schema
Package schema contains integration tests for distributed schema deletion.
Package schema contains integration tests for distributed schema deletion.
distributed/sync_retry
Package integration_sync_retry_test provides test utilities for sync retry integration tests.
Package integration_sync_retry_test provides test utilities for sync retry integration tests.
dockertesthelper
Package dockertesthelper provides utilities and constants for managing Docker containers.
Package dockertesthelper provides utilities and constants for managing Docker containers.
standalone
Package standalone is a standalone integration test suite.
Package standalone is a standalone integration test suite.
standalone/backup
Package backup Conduct backup and recovery tests for different storage types in standalone mode.
Package backup Conduct backup and recovery tests for different storage types in standalone mode.
standalone/cold_query
Package coldquery provides shared test setup for cold data query integration tests.
Package coldquery provides shared test setup for cold data query integration tests.
standalone/deletion
Package deletion contains integration tests for standalone group deletion.
Package deletion contains integration tests for standalone group deletion.
standalone/inspection
Package inspection provides integration tests for the inspect functionality in standalone mode.
Package inspection provides integration tests for the inspect functionality in standalone mode.
standalone/multi_segments
Package multisegments provides shared test setup for multi-segment integration tests.
Package multisegments provides shared test setup for multi-segment integration tests.
standalone/nativelog
Package nativelog runs the native self-stored log cases against standalone servers started as separate processes.
Package nativelog runs the native self-stored log cases against standalone servers started as separate processes.
standalone/observability
Package observability provides shared setup and helpers for standalone observability integration tests.
Package observability provides shared setup and helpers for standalone observability integration tests.
standalone/other
Package other provides shared test setup for miscellaneous standalone integration tests.
Package other provides shared test setup for miscellaneous standalone integration tests.
standalone/query
Package query provides shared test setup for query integration tests.
Package query provides shared test setup for query integration tests.
standalone/schema
Package schema contains integration tests for standalone schema deletion.
Package schema contains integration tests for standalone schema deletion.
plugin-sidecar
register command
Command register creates the trace group + schema and attaches a trace pipeline (a single latency-status sampler) so a standalone data node reconciles it and calls plugin.Open on the carrier-mounted .so.
Command register creates the trace group + schema and attaches a trace pipeline (a single latency-status sampler) so a standalone data node reconciles it and calls plugin.Open on the carrier-mounted .so.
plugins
_alwayskeepsampler command
Command alwayskeepsampler is the metadata-only native plugin used to measure the minimum trace-pipeline framework cost.
Command alwayskeepsampler is the metadata-only native plugin used to measure the minimum trace-pipeline framework cost.
_deterministicdropsampler command
Command deterministicdropsampler is the metadata-only native plugin used to measure trace deletion and secondary-index pruning independently of application logic.
Command deterministicdropsampler is the metadata-only native plugin used to measure trace deletion and secondary-index pruning independently of application logic.
_faultysampler command
Command faultysampler is an adversarial reference post-trace sampler plugin that verifies the engine's host-side bounds hold under hostile plugin behaviour.
Command faultysampler is an adversarial reference post-trace sampler plugin that verifies the engine's host-side bounds hold under hostile plugin behaviour.
_latencystatussampler command
Command latencystatussampler is a post-trace sampler plugin that drops a trace when its duration (in milliseconds, read from the "duration" tag) is below a configured threshold AND its "status" tag equals a configured success value.
Command latencystatussampler is a post-trace sampler plugin that drops a trace when its duration (in milliseconds, read from the "duration" tag) is below a configured threshold AND its "status" tag equals a configured success value.
_telemetrysampler command
Command telemetrysampler is a reference post-trace sampler plugin that demonstrates well-behaved use of the sdk.HostAware telemetry façade.
Command telemetrysampler is a reference post-trace sampler plugin that demonstrates well-behaved use of the sdk.HostAware telemetry façade.
Package propertyrepair package provides utilities for property repair performance testing in BanyanDB.
Package propertyrepair package provides utilities for property repair performance testing in BanyanDB.
rollback
nidx03
Package nidx03rollback proves NIDX-03's §12 item 2 rollback claim: a directory the new (native-only) binary writes still opens, and returns the same query results, under the previous release.
Package nidx03rollback proves NIDX-03's §12 item 2 rollback claim: a directory the new (native-only) binary writes still opens, and returns the same query results, under the previous release.
soak
cmd command
Package main implements the soak-driver CLI for the G5d soak harness.
Package main implements the soak-driver CLI for the G5d soak harness.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL