In absence of ingress filter, use directly connected worker (#2757)

* directly connected ingress filtering
This commit is contained in:
Irena Rindos authored and GitHub committed 2023-01-05 12:09:31 -05:00
1 parent 400f13a7e8
commit 9135cc7668
11 files changed
+50 -10

No files matched your search

@@ -16,6 +16,7 @@ import (
"github.com/hashicorp/boundary/api/targets"
"github.com/hashicorp/boundary/internal/credential"
"github.com/hashicorp/boundary/internal/daemon/controller"
tg "github.com/hashicorp/boundary/internal/daemon/controller/handlers/targets"
_ "github.com/hashicorp/boundary/internal/daemon/controller/handlers/targets/tcp"
"github.com/hashicorp/boundary/internal/daemon/worker"
"github.com/hashicorp/boundary/internal/iam"
@@ -405,6 +406,9 @@ func TestUpdateAfterKeyRotation(t *testing.T) {
logger := hclog.New(&hclog.LoggerOptions{
Level: hclog.Trace,
})
tg.SetupSuiteTargetFilters(t)
tc := controller.NewTestController(t, &controller.TestControllerOpts{SchedulerRunJobInterval: 100 * time.Millisecond})
ctx := tc.Context()
t.Cleanup(tc.Shutdown)