fix(e2e): Fix path to echo in connect_test & update scenarios for local builds (#3208)

This commit is contained in:
Josh Brand authored and GitHub committed 2023-05-08 15:04:26 -04:00
1 parent 6f6f4ade0a
commit 603c3c8c9c
6 files changed
+8 -2

No files matched your search

+1
View File
@@ -47,6 +47,7 @@ module "build_crt" {
module "build_local" {
source = "./modules/build_local"
binary_name = var.boundary_binary_name
build_target = var.local_build_target
}
+1
View File
@@ -83,6 +83,7 @@ scenario "e2e_aws" {
]
variables {
boundary_binary_name = var.boundary_binary_name
boundary_install_dir = local.boundary_install_dir
boundary_license = var.boundary_edition != "oss" ? step.read_license.license : null
common_tags = local.tags
@@ -82,6 +82,7 @@ scenario "e2e_static_with_vault" {
]
variables {
boundary_binary_name = var.boundary_binary_name
boundary_install_dir = local.boundary_install_dir
boundary_license = var.boundary_edition != "oss" ? step.read_license.license : null
common_tags = local.tags
+1
View File
@@ -82,6 +82,7 @@ scenario "e2e_static" {
]
variables {
boundary_binary_name = var.boundary_binary_name
boundary_install_dir = local.boundary_install_dir
boundary_license = var.boundary_edition != "oss" ? step.read_license.license : null
common_tags = local.tags
+1
View File
@@ -83,6 +83,7 @@ scenario "e2e_ui" {
]
variables {
boundary_binary_name = var.boundary_binary_name
boundary_install_dir = local.boundary_install_dir
boundary_license = var.boundary_edition != "oss" ? step.read_license.license : null
common_tags = local.tags
@@ -9,10 +9,11 @@ import (
"strings"
"testing"
"github.com/stretchr/testify/require"
"github.com/hashicorp/boundary/internal/target"
"github.com/hashicorp/boundary/testing/internal/e2e"
"github.com/hashicorp/boundary/testing/internal/e2e/boundary"
"github.com/stretchr/testify/require"
)
// TestCliConnectTargetBasic uses the boundary cli to create a number of
@@ -94,7 +95,7 @@ func TestCliConnectTargetWithTargetClientPort(t *testing.T) {
e2e.WithArgs(
"connect",
"-target-id", newTargetId,
"-exec", "/usr/bin/echo", "--",
"-exec", "/bin/echo", "--",
"{{boundary.port}}",
),
)