From 07b16e877c80905ff1fc505098f4d7292265ec9c Mon Sep 17 00:00:00 2001 From: Michael Li Date: Mon, 24 Oct 2022 16:07:07 -0400 Subject: [PATCH] refact(e2e): Rename original session cancelling test --- .../{session_cancel_test.go => session_cancel_admin_test.go} | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) rename testing/internal/e2e/host/static/{session_cancel_test.go => session_cancel_admin_test.go} (95%) diff --git a/testing/internal/e2e/host/static/session_cancel_test.go b/testing/internal/e2e/host/static/session_cancel_admin_test.go similarity index 95% rename from testing/internal/e2e/host/static/session_cancel_test.go rename to testing/internal/e2e/host/static/session_cancel_admin_test.go index 618cf93c82..9321fb7e25 100644 --- a/testing/internal/e2e/host/static/session_cancel_test.go +++ b/testing/internal/e2e/host/static/session_cancel_admin_test.go @@ -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", "--",