package
2.2.1
Repository: https://github.com/tarantool/go-tarantool.git
Documentation: pkg.go.dev

# Functions

CheckEqualBoxErrors checks equivalence of tarantool.BoxError objects.
No description provided by the author
ConnectWithValidation tries to connect to a Tarantool instance.
msgpack.v5 decodes different uint types depending on value.
CreateMockResponse creates a MockResponse from the header and a data, packed inside an io.Reader.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
IsTarantoolVersionLess checks if tarantool version is less than passed <major.minor.patch>.
NewMockDoer creates a MockDoer by given responses.
NewMockRequest creates an empty MockRequest.
NewMockResponse creates a new MockResponse with an empty header and the given data.
ProcessListenOnInstance helper calls "return box.cfg.listen" as many times as there are servers in the connection pool with specified mode.
RestartTarantool restarts a tarantool instance for tests with specifies parameters (refer to StartOpts) which were specified in inst parameter.
No description provided by the author
No description provided by the author
No description provided by the author
SkipIfCrudSpliceBroken skips test run if splice operation is broken on the crud side.
SkipIfErrorExtendedInfoUnsupported skips test run if Tarantool without IPROTO_ERROR (0x52) support is used.
SkipIfErrorMessagePackTypeUnsupported skips test run if Tarantool without MP_ERROR type over iproto support is used.
SkipIfFeatureDropped skips test run if Tarantool had dropped support of a feature.
SkipIfFeatureSupported skips test run if Tarantool supports a feature.
SkipIfFeatureUnsupported skips test run if Tarantool does not yet support a feature.
SkipIfGreaterOrEqual skips test run if Tarantool version is greater or equal than expected.
SkipIfIdSupported skips test run if Tarantool with IPROTO_ID support is used.
SkipIfIdUnsupported skips test run if Tarantool without IPROTO_ID support is used.
SkipIfLess skips test run if Tarantool version is less than expected.
SkipIfPaginationUnsupported skips test run if Tarantool without pagination is used.
No description provided by the author
SkipOfStreamsUnsupported skips test run if Tarantool without streams support is used.
SkipIfWatchersSupported skips test run if Tarantool with watchers support is used.
SkipOfStreamsUnsupported skips test run if Tarantool without watchers support is used.
SkipIfWatchOnceSupported skips test run if Tarantool with WatchOnce request type is used.
SkipIfWatchOnceUnsupported skips test run if Tarantool without WatchOnce request type is used.
StartTarantool starts a tarantool instance for tests with specifies parameters (refer to StartOpts).
No description provided by the author
StopTarantool stops a tarantool instance started with StartTarantool.
No description provided by the author
StopTarantoolWithCleanup stops a tarantool instance started with StartTarantool.
WaitUntilReconnected waits until connection is reestablished.

# Structs

No description provided by the author
No description provided by the author
MockDoer is an implementation of the Doer interface used for testing purposes.
MockRequest is an empty mock request used for testing purposes.
MockResponse is a mock response used for testing purposes.
No description provided by the author
TarantoolInstance is a data for instance graceful shutdown and cleanup.