refact(e2e): Rename original session cancelling test

pull/2559/head
Michael Li 4 years ago
parent 5d795e6104
commit 07b16e877c

@ -15,8 +15,8 @@ import (
"github.com/stretchr/testify/require"
)
// TestSessionCancelCli uses the boundary cli to start and then cancel a session
func TestSessionCancelCli(t *testing.T) {
// TestSessionCancelAdminCli uses the boundary cli to start and then cancel a session
func TestSessionCancelAdminCli(t *testing.T) {
e2e.MaybeSkipTest(t)
c, err := loadConfig()
require.NoError(t, err)
@ -35,6 +35,7 @@ func TestSessionCancelCli(t *testing.T) {
ctxCancel, cancel := context.WithCancel(context.Background())
errChan := make(chan *e2e.CommandResult)
go func() {
t.Log("Starting session...")
errChan <- e2e.RunCommand(ctxCancel, "boundary", "connect",
"-target-id", newTargetId,
"-exec", "/usr/bin/ssh", "--",
Loading…
Cancel
Save