mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-02 19:47:54 +00:00
Re-add dockertest and fix up imports and update script (#4909)
This commit is contained in:
@@ -12,7 +12,7 @@ import (
|
||||
"github.com/gocql/gocql"
|
||||
"github.com/hashicorp/errwrap"
|
||||
"github.com/hashicorp/vault/builtin/logical/database/dbplugin"
|
||||
dockertest "gopkg.in/ory-am/dockertest.v3"
|
||||
"github.com/ory/dockertest"
|
||||
)
|
||||
|
||||
func prepareCassandraTestContainer(t *testing.T) (func(), string, int) {
|
||||
|
||||
@@ -12,7 +12,7 @@ import (
|
||||
"strings"
|
||||
|
||||
"github.com/hashicorp/vault/builtin/logical/database/dbplugin"
|
||||
dockertest "gopkg.in/ory-am/dockertest.v3"
|
||||
"github.com/ory/dockertest"
|
||||
)
|
||||
|
||||
const testMongoDBRole = `{ "db": "admin", "roles": [ { "role": "readWrite" } ] }`
|
||||
|
||||
@@ -12,7 +12,7 @@ import (
|
||||
"github.com/hashicorp/vault/plugins/helper/database/credsutil"
|
||||
|
||||
"github.com/hashicorp/vault/builtin/logical/database/dbplugin"
|
||||
dockertest "gopkg.in/ory-am/dockertest.v3"
|
||||
"github.com/ory/dockertest"
|
||||
)
|
||||
|
||||
func prepareMySQLTestContainer(t *testing.T, legacy bool) (cleanup func(), retURL string) {
|
||||
|
||||
@@ -11,7 +11,7 @@ import (
|
||||
"time"
|
||||
|
||||
"github.com/hashicorp/vault/builtin/logical/database/dbplugin"
|
||||
dockertest "gopkg.in/ory-am/dockertest.v3"
|
||||
"github.com/ory/dockertest"
|
||||
)
|
||||
|
||||
var (
|
||||
|
||||
Reference in New Issue
Block a user