File tree Expand file tree Collapse file tree 4 files changed +13
-13
lines changed
Expand file tree Collapse file tree 4 files changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -277,11 +277,11 @@ func (f *KeeperTest) Run() error {
277277 for {
278278 select {
279279 case <- ctx .Done ():
280- log .Warn ().Msg ("Test finished" )
280+ log .Info ().Msg ("Test finished" )
281281 return nil
282282 default :
283283 requiredUpkeeps := i * len (f .chainlinkClients )
284- log .Warn ().Int ("RoundID" , i ).Int ("Required upkeeps" , requiredUpkeeps ).Msg ("New round" )
284+ log .Info ().Int ("RoundID" , i ).Int ("Required upkeeps" , requiredUpkeeps ).Msg ("New round" )
285285 if err := f .waitForUpkeeps (requiredUpkeeps ); err != nil {
286286 return err
287287 }
Original file line number Diff line number Diff line change @@ -160,10 +160,10 @@ func (f *OCRTest) Run() error {
160160 for {
161161 select {
162162 case <- ctx .Done ():
163- log .Warn ().Msg ("Test finished" )
163+ log .Info ().Msg ("Test finished" )
164164 return nil
165165 default :
166- log .Warn ().Int ("RoundID" , i ).Msg ("New round" )
166+ log .Info ().Int ("RoundID" , i ).Msg ("New round" )
167167 val , err := f .changeAdapterValue (i )
168168 if err != nil {
169169 return err
@@ -189,7 +189,7 @@ func (f *OCRTest) waitRoundEnd(roundID int) error {
189189
190190func (f * OCRTest ) checkAllRounds (val int ) error {
191191 g := errgroup.Group {}
192- log .Warn ().Msg ("Asserting results" )
192+ log .Info ().Msg ("Asserting results" )
193193 for _ , ci := range f .contractInstances {
194194 ci := ci
195195 g .Go (func () error {
Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ func NewRunlogTest(
7373 }
7474}
7575
76- // RecordValues will query all of the latencies of the VRFConsumer and match them by RequestID
76+ // RecordValues records Runlog metrics
7777func (f * RunlogTest ) RecordValues (b ginkgo.Benchmarker ) error {
7878 // can't estimate perf metrics in soak mode
7979 if f .TestOptions .NumberOfRounds == 0 {
@@ -188,20 +188,20 @@ func (f *RunlogTest) Run() error {
188188 for {
189189 select {
190190 case <- ctx .Done ():
191- log .Warn ().Msg ("Test finished" )
191+ log .Info ().Msg ("Test finished" )
192192 time .Sleep (f .TestOptions .GracefulStopDuration )
193193 cancelPerfEvents ()
194194 return nil
195195 default :
196- log .Warn ().Int ("RoundID" , currentRound ).Msg ("New round" )
196+ log .Info ().Int ("RoundID" , currentRound ).Msg ("New round" )
197197 if err := f .requestData (); err != nil {
198198 return err
199199 }
200200 if err := f .waitRoundEnd (currentRound + 1 ); err != nil {
201201 return err
202202 }
203203 if f .TestOptions .NumberOfRounds != 0 && currentRound >= f .TestOptions .NumberOfRounds {
204- log .Warn ().Msg ("Final round is reached" )
204+ log .Info ().Msg ("Final round is reached" )
205205 testCtxCancel ()
206206 }
207207 currentRound ++
Original file line number Diff line number Diff line change @@ -233,28 +233,28 @@ func (f *VRFTest) Run() error {
233233 for {
234234 select {
235235 case <- ctx .Done ():
236- log .Warn ().Msg ("Test finished" )
236+ log .Info ().Msg ("Test finished" )
237237 time .Sleep (f .TestOptions .GracefulStopDuration )
238238 cancelPerfEvents ()
239239 return nil
240240 default :
241- log .Warn ().Int ("RoundID" , currentRound ).Msg ("New round" )
241+ log .Info ().Int ("RoundID" , currentRound ).Msg ("New round" )
242242 if err := f .requestRandomness (); err != nil {
243243 return err
244244 }
245245 if err := f .waitRoundFulfilled (currentRound + 1 ); err != nil {
246246 return err
247247 }
248248 if f .TestOptions .NumberOfRounds != 0 && currentRound >= f .TestOptions .NumberOfRounds {
249- log .Warn ().Msg ("Final round is reached" )
249+ log .Info ().Msg ("Final round is reached" )
250250 testCtxCancel ()
251251 }
252252 currentRound ++
253253 }
254254 }
255255}
256256
257- // RecordValues will query all of the latencies of the VRFConsumer and match them by RequestID
257+ // RecordValues records VRF metrics
258258func (f * VRFTest ) RecordValues (b ginkgo.Benchmarker ) error {
259259 // can't estimate perf metrics in soak mode
260260 if f .TestOptions .NumberOfRounds == 0 {
You can’t perform that action at this time.
0 commit comments