Skip to content

Commit

Permalink
Fix failing unittest - 9
Browse files Browse the repository at this point in the history
  • Loading branch information
aditya1702 committed Nov 18, 2024
1 parent 8d611ba commit 3f1c107
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/services/ingest_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ func TestTrackRPCServiceHealth_UnhealthyService(t *testing.T) {
heartbeat := make(chan entities.RPCGetHealthResult, 1)

mockRPCService.On("GetHealth").Return(entities.RPCGetHealthResult{}, errors.New("rpc error"))
mockAppTracker.On("CaptureMessage", mock.Anything)
mockAppTracker.On("CaptureMessage", "ingestion service stale for over 1m0s")

go trackRPCServiceHealth(context.Background(), heartbeat, nil, mockRPCService)

Expand Down

0 comments on commit 3f1c107

Please sign in to comment.