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

# Packages

No description provided by the author

# Functions

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.
AutoCreateIndex creates an index in the test cluster.
AutoDropCollection drops the collection in the test cluster.
AutoInsertDocs inserts the docs into the test cluster.
Cluster gets the globally configured 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.
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.