hashicorp / vault-service-broker

The official HashiCorp Vault broker integration to the Open Service Broker API. This service broker provides support for secure secret storage and encryption-as-a-service to HashiCorp Vault.
https://www.vaultproject.io/
Mozilla Public License 2.0
84 stars 38 forks source link

Add ability to test #22

Closed tyrannosaurus-becks closed 5 years ago

tyrannosaurus-becks commented 5 years ago

This adds an ability to test the existing code base, and makes testing more verbose.

Running this test so far reveals a failure locally when starting the broker. It fails to do its first renewal of a token. Separate PRs will incrementally add more tests and fixes for any problems revealed by them.

tyrannosaurus-becks commented 5 years ago

Just had a conversation with some folks and we decided to go with functional tests instead because we'd like these tests to be run by a CI server. To run Vault and the broker in containers on that or at a separate remote location, it would be a higher level of effort than we want to do on this iteration. Thus, I'm closing this in favor of some PRs to follow adding a CI integration and functional tests.