cockroachdb_instance

package
v0.0.0-...-e00d976 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Require

func Require(t sktest.TestingT)

Require starts or verifies that a long-living instance of CockroachDB is running.

When running locally, the test case will fail if the corresponding environment variable is unset. When running under RBE, the first invocation of this function will start the emulator and set the appropriate environment variable, and any subsequent calls will reuse the emulator instance.

func StartCockroachDBIfNotRunning

func StartCockroachDBIfNotRunning() (bool, error)

StartCockroachDBIfNotRunning returns true if it successfully started CockroachDB, false (and maybe an error) if it did not (possibly because it was already running).

Types

This section is empty.

Jump to

Keyboard shortcuts

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