Skip to content

Commit da56e0f

Browse files
committed
fix: Disable light summary if SendOnly is enabled for load testing
1 parent 2ec24c8 commit da56e0f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

cmd/loadtest/loadtest.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -885,7 +885,9 @@ func mainLoop(ctx context.Context, c *ethclient.Client, rpc *ethrpc.Client) erro
885885
default:
886886
log.Error().Str("mode", mode.String()).Msg("We've arrived at a load test mode that we don't recognize")
887887
}
888-
recordSample(routineID, requestID, tErr, startReq, endReq, sendingTops.Nonce.Uint64())
888+
if !*inputLoadTestParams.SendOnly {
889+
recordSample(routineID, requestID, tErr, startReq, endReq, sendingTops.Nonce.Uint64())
890+
}
889891
if tErr != nil {
890892
log.Error().
891893
Int64("routineID", routineID).

0 commit comments

Comments
 (0)