@@ -42,14 +42,14 @@ func TestPoisonPillScenario(t *testing.T) {
4242 // Configure mock service responses with realistic latency
4343 mockService .On ("PutLogEvents" , mock .MatchedBy (func (input * cloudwatchlogs.PutLogEventsInput ) bool {
4444 return * input .LogGroupName == "log-stream-ple-access-granted"
45- })).Return (& cloudwatchlogs.PutLogEventsOutput {}, nil ).Run (func (args mock.Arguments ) {
45+ })).Return (& cloudwatchlogs.PutLogEventsOutput {}, nil ).Run (func (_ mock.Arguments ) {
4646 time .Sleep (10 * time .Millisecond ) // Simulate API latency
4747 allowedGroupSuccessCount .Add (1 )
4848 })
4949
5050 mockService .On ("PutLogEvents" , mock .MatchedBy (func (input * cloudwatchlogs.PutLogEventsInput ) bool {
5151 return * input .LogGroupName != "log-stream-ple-access-granted"
52- })).Return ((* cloudwatchlogs .PutLogEventsOutput )(nil ), accessDeniedErr ).Run (func (args mock.Arguments ) {
52+ })).Return ((* cloudwatchlogs .PutLogEventsOutput )(nil ), accessDeniedErr ).Run (func (_ mock.Arguments ) {
5353 time .Sleep (10 * time .Millisecond ) // Simulate API latency
5454 deniedGroupAttemptCount .Add (1 )
5555 })
@@ -177,7 +177,7 @@ func TestSingleDeniedLogGroup(t *testing.T) {
177177
178178 mockService .On ("PutLogEvents" , mock .MatchedBy (func (input * cloudwatchlogs.PutLogEventsInput ) bool {
179179 return * input .LogGroupName == "log-stream-ple-access-granted"
180- })).Return (& cloudwatchlogs.PutLogEventsOutput {}, nil ).Run (func (args mock.Arguments ) {
180+ })).Return (& cloudwatchlogs.PutLogEventsOutput {}, nil ).Run (func (_ mock.Arguments ) {
181181 allowedGroupSuccessCount .Add (1 )
182182 })
183183
0 commit comments