Skip to content

Commit

Permalink
Merge 5cd06e0 into backport/leafcerts-without-agent-cache/exactly-joi…
Browse files Browse the repository at this point in the history
…nt-tuna
  • Loading branch information
hc-github-team-consul-core authored Jun 13, 2023
2 parents 3944ffb + 5cd06e0 commit 3d576da
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions agent/agent_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6243,7 +6243,13 @@ func TestAgent_checkServerLastSeen(t *testing.T) {
},
RuntimeConfig: &config.RuntimeConfig{},
Cache: cache.New(cache.Options{}),
NetRPC: &LazyNetRPC{},
}
bd.LeafCertManager = leafcert.NewManager(leafcert.Deps{
CertSigner: leafcert.NewNetRPCCertSigner(bd.NetRPC),
RootsReader: leafcert.NewCachedRootsReader(bd.Cache, "dc1"),
Config: leafcert.Config{},
})
agent, err := New(bd)
require.NoError(t, err)

Expand Down

0 comments on commit 3d576da

Please sign in to comment.