Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Vault
Commits
c38b0e0e
Unverified
Commit
c38b0e0e
authored
6 years ago
by
Chris Hoffman
Committed by
GitHub
6 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Only run cassandra test with VAULT_ACC set
parent
2ee62e00
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
builtin/logical/cassandra/backend_test.go
+2
-3
builtin/logical/cassandra/backend_test.go
with
2 additions
and
3 deletions
+2
-3
builtin/logical/cassandra/backend_test.go
+
2
-
3
View file @
c38b0e0e
...
...
@@ -62,7 +62,6 @@ func prepareCassandraTestContainer(t *testing.T) (func(), string, int) {
Password
:
"cassandra"
,
}
clusterConfig
.
ProtoVersion
=
4
clusterConfig
.
DisableInitialHostLookup
=
true
clusterConfig
.
Port
=
port
session
,
err
:=
clusterConfig
.
CreateSession
()
...
...
@@ -79,7 +78,7 @@ func prepareCassandraTestContainer(t *testing.T) (func(), string, int) {
}
func
TestBackend_basic
(
t
*
testing
.
T
)
{
if
os
.
Getenv
(
"
TRAVIS
"
)
!
=
"
true
"
{
if
os
.
Getenv
(
"
VAULT_ACC
"
)
=
=
""
{
t
.
SkipNow
()
}
config
:=
logical
.
TestBackendConfig
()
...
...
@@ -103,7 +102,7 @@ func TestBackend_basic(t *testing.T) {
}
func
TestBackend_roleCrud
(
t
*
testing
.
T
)
{
if
os
.
Getenv
(
"
TRAVIS
"
)
!
=
"
true
"
{
if
os
.
Getenv
(
"
VAULT_ACC
"
)
=
=
""
{
t
.
SkipNow
()
}
config
:=
logical
.
TestBackendConfig
()
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help