We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8111250 commit 5c56953Copy full SHA for 5c56953
agent/agent_test.go
@@ -875,7 +875,7 @@ func TestAgentRun(t *testing.T) {
875
876
monitor := newMockMonitor()
877
monitor.On("RecordRun", utils.OfTypeContext(), mock.AnythingOfType("agent.Run")).Once()
878
- monitor.On("RecordPlugin", utils.OfTypeContext(), mock.AnythingOfType("agent.PluginInfo"))
+ monitor.On("RecordPlugin", utils.OfTypeContext(), mock.AnythingOfType("agent.PluginInfo")).Maybe()
879
monitor.On("RecordSinkRetryCount", utils.OfTypeContext(), mock.AnythingOfType("agent.PluginInfo")).Maybe()
880
defer monitor.AssertExpectations(t)
881
0 commit comments