Fixed integration test in registrarc

This commit is contained in:
andronache
2021-06-16 15:38:07 +03:00
committed by Dan Christian Bogos
parent 1a610eac1c
commit 7d0d042831

View File

@@ -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")
}