test(e2e): Update test names (#3362)
This commit is contained in:
1 parent
474afe4671
commit
0af862ba5d
6 files changed
+8
-8
No files matched your search
@@ -18,7 +18,7 @@ import (
|
||||
"github.com/stretchr/testify/require"
|
||||
)
|
||||
|
||||
// TestCliConnectTargetWithAuthzToken uses the boundary cli to connect to a target using the
|
||||
// TestCliTcpTargetConnectTargetWithAuthzToken uses the boundary cli to connect to a target using the
|
||||
// `authz_token` option
|
||||
func TestCliTcpTargetConnectTargetWithAuthzToken(t *testing.T) {
|
||||
e2e.MaybeSkipTest(t)
|
||||
|
||||
@@ -16,10 +16,10 @@ import (
|
||||
"github.com/stretchr/testify/require"
|
||||
)
|
||||
|
||||
// TestCliConnectTargetWithSsh uses the boundary cli to create a credential using boundary's
|
||||
// TestCliTcpTargetConnectTargetWithSsh uses the boundary cli to create a credential using boundary's
|
||||
// built-in credential store. The test attaches that credential to a target and attempts to connect
|
||||
// to that target using those credentials.
|
||||
func TestCliConnectTargetWithSsh(t *testing.T) {
|
||||
func TestCliTcpTargetConnectTargetWithSsh(t *testing.T) {
|
||||
e2e.MaybeSkipTest(t)
|
||||
c, err := loadTestConfig()
|
||||
require.NoError(t, err)
|
||||
|
||||
@@ -16,7 +16,7 @@ import (
|
||||
"github.com/hashicorp/boundary/testing/internal/e2e/boundary"
|
||||
)
|
||||
|
||||
// TestCliConnectTargetBasic uses the boundary cli to create a number of
|
||||
// TestCliTcpTargetConnectTargetBasic uses the boundary cli to create a number of
|
||||
// supporting objects to connect to a target. It then attempts to connect to
|
||||
// that target and verifies that the connection was successful.
|
||||
func TestCliTcpTargetConnectTargetBasic(t *testing.T) {
|
||||
|
||||
+2
-2
@@ -19,11 +19,11 @@ import (
|
||||
"github.com/stretchr/testify/require"
|
||||
)
|
||||
|
||||
// TestCliVaultConnectTargetWithAuthzToken uses the boundary and vault clis to add secrets
|
||||
// TestCliTcpTargetVaultConnectTargetWithAuthzToken uses the boundary and vault clis to add secrets
|
||||
// management for a target. The test sets up vault as a credential store, creates a set of
|
||||
// credentials in vault to be attached to a target, and attempts to connect to that target (with the
|
||||
// authz-token option) using those credentials.
|
||||
func TestCliVaultConnectTargetWithAuthzToken(t *testing.T) {
|
||||
func TestCliTcpTargetVaultConnectTargetWithAuthzToken(t *testing.T) {
|
||||
e2e.MaybeSkipTest(t)
|
||||
c, err := loadTestConfig()
|
||||
require.NoError(t, err)
|
||||
File renamed without changes.
+2
-2
@@ -20,11 +20,11 @@ import (
|
||||
"github.com/stretchr/testify/require"
|
||||
)
|
||||
|
||||
// TestCliVaultConnectTarget uses the boundary and vault clis to add secrets management
|
||||
// TestCliTcpTargetVaultConnectTarget uses the boundary and vault clis to add secrets management
|
||||
// for a target. The test sets up vault as a credential store, creates a set of credentials
|
||||
// in vault to be attached to a target, and attempts to connect to that target using those
|
||||
// credentials.
|
||||
func TestCliVaultConnectTarget(t *testing.T) {
|
||||
func TestCliTcpTargetVaultConnectTarget(t *testing.T) {
|
||||
e2e.MaybeSkipTest(t)
|
||||
c, err := loadTestConfig()
|
||||
require.NoError(t, err)
|
||||
Reference in new issue
Block a user