Skip to content

Commit

Permalink
Merge pull request #1755 from LK4D4/remove_fatalf
Browse files Browse the repository at this point in the history
agent: do not call Fatalf in goroutine
  • Loading branch information
stevvooe authored Nov 16, 2016
2 parents 5045a51 + 09549e8 commit 9a03fb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion agent/reporter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ func TestReporter(t *testing.T) {
// simulate pounding this with a bunch of goroutines
go func() {
if err := reporter.UpdateTaskStatus(ctx, taskID, status); err != nil {
t.Fatalf("sending should not fail: %v", err)
assert.NoError(t, err, "sending should not fail")
}
}()

Expand Down

0 comments on commit 9a03fb8

Please sign in to comment.