mirror of
https://github.com/prometheus/prometheus.git
synced 2025-07-03 19:13:23 +00:00
Clean up start-up and shut-down.
Change-Id: Idff4bbb0a15a9f879bfbb3da5b1025179cab5e2c
This commit is contained in:
parent
4447708c9f
commit
b3ed9aa7a2
12 changed files with 161 additions and 146 deletions
|
@ -48,7 +48,7 @@ func NewTestStorage(t testing.TB) (Storage, test.Closer) {
|
|||
t.Fatalf("Error creating storage: %s", err)
|
||||
}
|
||||
|
||||
storageStarted := make(chan bool)
|
||||
storageStarted := make(chan struct{})
|
||||
go storage.Serve(storageStarted)
|
||||
<-storageStarted
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue