Upsert creates a new KMS and Updates PKI workers (#2187)
This commit is contained in:
25 files changed
+676
-709
No files matched your search
@@ -146,7 +146,7 @@ func TestStoreWorkerAuth(t *testing.T) {
|
||||
require.NoError(err)
|
||||
require.NotNil(wrapper)
|
||||
|
||||
worker := TestWorker(t, conn, wrapper)
|
||||
worker := TestPkiWorker(t, conn, wrapper)
|
||||
|
||||
rw := db.New(conn)
|
||||
rootStorage, err := NewRepositoryStorage(ctx, rw, rw, kmsCache)
|
||||
@@ -266,7 +266,7 @@ func TestStoreNodeInformationTx(t *testing.T) {
|
||||
|
||||
// Create struct to pass in with workerId that will be passed along to
|
||||
// storage
|
||||
testWorker := TestWorker(t, conn, testWrapper)
|
||||
testWorker := TestPkiWorker(t, conn, testWrapper)
|
||||
|
||||
testState, err := AttachWorkerIdToState(testCtx, testWorker.PublicId)
|
||||
require.NoError(t, err)
|
||||
|
||||
Reference in new issue
Block a user