open-vault/plugins/database/mongodb
Milena Zlaticanin a7e6ec47c8
Fix tests - Update MongoDB driver (#17662)
* Fix tests - Update MongoDB driver

* increase timeout and disconnect client after ping

* increase timeout

* disconnect client after the ping
2022-10-27 15:48:33 -05:00
..
mongodb-database-plugin Prepare multiplexing support for database plugins (#16995) 2022-09-06 14:00:37 -04:00
README.md Add x509 Client Auth to MongoDB Database Plugin (#8329) 2020-02-13 15:54:00 -07:00
cert_helpers_test.go Allow mTLS for mysql secrets engine (#9181) 2020-06-17 11:46:01 -07:00
connection_producer.go plugins: deprecate errwrap.Wrapf() (#11590) 2021-05-21 10:22:29 -04:00
connection_producer_test.go Fix tests - Update MongoDB driver (#17662) 2022-10-27 15:48:33 -05:00
mongodb.go Migrate to sdk/internalshared libs in go-secure-stdlib (#12090) 2021-07-15 20:17:31 -04:00
mongodb_test.go Fix tests - Update MongoDB driver (#17662) 2022-10-27 15:48:33 -05:00
util.go Add x509 Client Auth to MongoDB Database Plugin (#8329) 2020-02-13 15:54:00 -07:00

README.md

MongoDB Tests

The test TestInit_clientTLS cannot be run within CircleCI in its current form. This is because it's not possible to use volume mounting with the docker executor.

Because of this, the test is skipped. Running this locally shouldn't present any issues as long as you have docker set up to allow volume mounting from this directory:

go test -v -run Init_clientTLS

This may be able to be fixed if we mess with the entrypoint or the command arguments.