Only run cassandra tests on Travis for right now

This commit is contained in:
Jeff Mitchell
2017-05-09 08:36:20 -04:00
parent 37d9b58769
commit 2e567bd5e7
2 changed files with 18 additions and 0 deletions

View File

@@ -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)