Receiving a SIGUSR2 makes Vault log the running goroutines' stacks. (#6240)

* Receiving a SIGUSR2 makes Vault log the running goroutines' stacks.
This commit is contained in:
ncabatoff
2019-03-15 09:27:53 -04:00
committed by GitHub
parent 61299b0502
commit ccfeef6688
3 changed files with 25 additions and 0 deletions

View File

@@ -90,6 +90,7 @@ func testServerCommand(tb testing.TB) (*cli.MockUi, *ServerCommand) {
},
ShutdownCh: MakeShutdownCh(),
SighupCh: MakeSighupCh(),
SigUSR2Ch: MakeSigUSR2Ch(),
PhysicalBackends: map[string]physical.Factory{
"inmem": physInmem.NewInmem,
"inmem_ha": physInmem.NewInmemHA,