@@ -36,6 +36,7 @@ type Options struct {
3636 MaxUseBatch time.Duration
3737 MaxStorageRadius uint8
3838 StorageRadiusCheckWait time.Duration
39+ IterationWait time.Duration
3940}
4041
4142// NewDefaultOptions returns new default options
@@ -54,6 +55,7 @@ func NewDefaultOptions() Options {
5455 MaxUseBatch : 12 * time .Hour ,
5556 MaxStorageRadius : 2 ,
5657 StorageRadiusCheckWait : 5 * time .Minute ,
58+ IterationWait : 5 * time .Minute ,
5759 }
5860}
5961
@@ -83,6 +85,8 @@ func (c *Check) Run(ctx context.Context, cluster orchestration.Cluster, opts int
8385
8486 c .logger .Info ("random seed: " , o .RndSeed )
8587 c .logger .Info ("content size: " , o .ContentSize )
88+ c .logger .Info ("upload timeout: " , o .UploadTimeout )
89+ c .logger .Info ("download timeout: " , o .DownloadTimeout )
8690
8791 rnd := random .PseudoGenerator (o .RndSeed )
8892
@@ -237,6 +241,8 @@ func (c *Check) Run(ctx context.Context, cluster orchestration.Cluster, opts int
237241 c .logger .Infof ("data mismatch: found %d different bytes, ~%.2f%%" , diff , float64 (diff )/ float64 (txLen )* 100 )
238242 }
239243 rxCancel ()
244+
245+ time .Sleep (o .IterationWait )
240246 }
241247
242248 return nil
0 commit comments