mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-01 19:17:58 +00:00
Only run cassandra tests on Travis for right now
This commit is contained in:
@@ -74,6 +74,9 @@ func cleanupTestContainer(t *testing.T, cid dockertest.ContainerID) {
|
||||
}
|
||||
|
||||
func TestBackend_basic(t *testing.T) {
|
||||
if os.Getenv("TRAVIS") != "true" {
|
||||
t.SkipNow()
|
||||
}
|
||||
config := logical.TestBackendConfig()
|
||||
config.StorageView = &logical.InmemStorage{}
|
||||
b, err := Factory(config)
|
||||
@@ -97,6 +100,9 @@ func TestBackend_basic(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestBackend_roleCrud(t *testing.T) {
|
||||
if os.Getenv("TRAVIS") != "true" {
|
||||
t.SkipNow()
|
||||
}
|
||||
config := logical.TestBackendConfig()
|
||||
config.StorageView = &logical.InmemStorage{}
|
||||
b, err := Factory(config)
|
||||
|
||||
Reference in New Issue
Block a user