mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-25 05:34:05 -08:00
Update main_unix_test.go (#10917)
so->,so Signed-off-by: lixin18 <68135097+lixin963@users.noreply.github.com>
This commit is contained in:
parent
87ffac3e9d
commit
735a07444a
|
@ -54,7 +54,7 @@ func TestStartupInterrupt(t *testing.T) {
|
|||
|
||||
Loop:
|
||||
for x := 0; x < 10; x++ {
|
||||
// error=nil means prometheus has started so we can send the interrupt
|
||||
// error=nil means prometheus has started, so we can send the interrupt
|
||||
// signal and wait for the graceful shutdown.
|
||||
if _, err := http.Get(url); err == nil {
|
||||
startedOk = true
|
||||
|
|
Loading…
Reference in a new issue