diff --git a/integration-tests/load/automationv2_1/gun.go b/integration-tests/load/automationv2_1/gun.go index 6a8fd027864..c815b5eb88a 100644 --- a/integration-tests/load/automationv2_1/gun.go +++ b/integration-tests/load/automationv2_1/gun.go @@ -89,37 +89,16 @@ func (m *LogTriggerGun) Call(_ *wasp.Generator) *wasp.Response { dividedData = append(dividedData, d[i:end]) } - resultCh := make(chan *wasp.Response, len(dividedData)) - for _, a := range dividedData { wg.Add(1) go func(a [][]byte, m *LogTriggerGun) { defer wg.Done() - _, err := contracts.MultiCallLogTriggerLoadGen(m.client, m.multiCallAddress, m.addresses, a) - if err != nil { - m.logger.Error().Err(err).Msg("Error calling MultiCallLogTriggerLoadGen") - resultCh <- &wasp.Response{Error: err.Error(), Failed: true} - return - } - resultCh <- &wasp.Response{} + _, _ = contracts.MultiCallLogTriggerLoadGen(m.client, m.multiCallAddress, m.addresses, a) }(a, m) } wg.Wait() - r := &wasp.Response{} - for result := range resultCh { - if result.Failed { - r.Failed = true - if r.Error != "" { - r.Error += "; " + result.Error - } else { - r.Error = result.Error - } - } - } - - close(resultCh) - - return r + // we don't really care about errors, we fire and forget and check metrics at the end of the test + return &wasp.Response{} }