diff --git a/services/registrarc_it_test.go b/services/registrarc_it_test.go index 358960ac8..90675ebbe 100644 --- a/services/registrarc_it_test.go +++ b/services/registrarc_it_test.go @@ -91,6 +91,7 @@ func TestDispatcherHReload(t *testing.T) { } cfg.GetReloadChan(config.RegistrarCJson) <- struct{}{} time.Sleep(10 * time.Millisecond) + srv.Shutdown() if srv.IsRunning() { t.Errorf("Expected service to be down") }