Skip to content

Commit f11c293

Browse files
committed
Update router_status_test.go
1 parent 86e3369 commit f11c293

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

web/router_status_test.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,5 +74,8 @@ func TestStatus_Not_Allowed_Methods(t *testing.T) {
7474
func newStatusRouter(t *testing.T) *HttpRouter {
7575
reporter := status.NewEmptyReporter()
7676
reg, _, _ := sdk.NewTestRegistrarTWithStatusReporter(t, reporter)
77+
for _, c := range reg.GetAll() {
78+
<-c.Ready()
79+
}
7780
return NewRouter(reg, telemetry.NewEmptyReporter(), reporter, &config.HttpConfig{Status: config.StatusConfig{Enabled: true}}, &config.ProfileConfig{}, log.NewNullLogger())
7881
}

0 commit comments

Comments
 (0)