In absence of ingress filter, use directly connected worker (#2757)
* directly connected ingress filtering
This commit is contained in:
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)
|
||||
|
||||
Reference in new issue
Block a user