package
0.3.0
Repository: https://github.com/mpobrien/mongo-go-driver.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
Package israce reports if the Go race detector is enabled.

# Functions

AddCompressorToUri checks for the environment variable indicating that the tests are being run with compression enabled.
AddOptionsToURI appends connection string options to a URI.
AddTLSConfigToURI checks for the environmental variable indicating that the tests are being run on an SSL-enabled server, and if so, returns a new URI with the necessary configuration.
AutoCreateIndexes creates an index in the test cluster.
AutoDropCollection drops the collection in the test cluster.
AutoInsertDocs inserts the docs into the test cluster.
ColName gets a collection name that should be unique to the currently executing test.
ConnString gets the globally configured connection string.
DBName gets the globally configured database name.
DisableMaxTimeFailPoint turns off the max time fail point in the test cluster.
DropCollection drops the collection in the test cluster.
EnableMaxTimeFailPoint turns on the max time fail point in the test cluster.
No description provided by the author
No description provided by the author
GlobalMonitoredTopology gets the globally configured topology and attaches a command monitor.
InsertDocs inserts the docs into the test cluster.
Integration should be called at the beginning of integration tests to ensure that they are skipped if integration testing is turned off.
MonitoredTopology returns a new topology with the command monitor attached.
RunCommand runs an arbitrary command on a given database of target server.
Topology gets the globally configured topology.
TopologyWithConnString takes a connection string and returns a connected topology, or else bails out of testing.