Skip to content

Commit

Permalink
abort if server is never created (#1810)
Browse files Browse the repository at this point in the history
  • Loading branch information
graphaelli committed Jan 18, 2019
1 parent 67f72c0 commit 2344435
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion beater/beater_test.go
Expand Up @@ -414,7 +414,9 @@ func setupBeater(t *testing.T, publisher beat.Pipeline, ucfg *common.Config, bea
}()

btr := beatBeater.(*beater)
btr.wait()
if err := btr.wait(); err != nil {
return nil, nil, err
}

url, client := btr.client(true)
go func() {
Expand Down

0 comments on commit 2344435

Please sign in to comment.