test(e2e): Fix error in migration test (#4354)

pull/4371/head
Michael Li 2 years ago committed by GitHub
parent 31ca969f4f
commit 4ebdd9458a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -245,6 +245,7 @@ func ConnectToTarget(t testing.TB, pool *dockertest.Pool, network *dockertest.Ne
"boundary", "connect",
"-token", "env://E2E_AUTH_TOKEN",
"-target-id", targetId,
"-keyring-type", "none",
"-exec", "ls", // Execute something so that the command exits
// Note: Would have used `connect ssh` here, but ssh does not exist in the image. Also,
// this method only cares about creating a session entry in the database, so the ssh is unnecessary

@ -343,6 +343,7 @@ func populateBoundaryDatabase(t testing.TB, ctx context.Context, c *config, te T
"-auth-method-id", te.DbInitInfo.AuthMethod.AuthMethodId,
"-login-name", te.DbInitInfo.AuthMethod.LoginName,
"-password", "env://E2E_TEST_BOUNDARY_PASSWORD",
"-keyring-type", "none",
"-format", "json",
},
dockertest.ExecOptions{

Loading…
Cancel
Save