From 4d60f42210c529b55471f83c72be674e5fbeaca3 Mon Sep 17 00:00:00 2001 From: Jim Date: Sun, 2 Apr 2023 17:45:43 -0400 Subject: [PATCH] feat(bsr): add bsr kms support in config, dev and tests --- internal/daemon/controller/testing_test.go | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/internal/daemon/controller/testing_test.go b/internal/daemon/controller/testing_test.go index 48ba1df43..b0658ad74 100644 --- a/internal/daemon/controller/testing_test.go +++ b/internal/daemon/controller/testing_test.go @@ -93,6 +93,19 @@ func Test_TestController(t *testing.T) { ws := tc.Kms().GetExternalWrappers(testCtx) + assert.NotNil(ws.Root()) + assert.NotNil(ws.WorkerAuth()) + assert.NotNil(ws.Recovery()) + assert.NotNil(ws.Bsr()) + }) + t.Run("controller-external-wrappers", func(t *testing.T) { + testCtx := context.Background() + assert := assert.New(t) + tc := NewTestController(t, nil) + defer tc.Shutdown() + + ws := tc.Kms().GetExternalWrappers(testCtx) + assert.NotNil(ws.Root()) assert.NotNil(ws.WorkerAuth()) assert.NotNil(ws.Recovery())