You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When i try to run the test it always fails because readGauge tries to read the value before scrape has completed and run e.up.Set(1). If i put a time.Sleep(1 * time.Second) in the test just before readGauge or change Collect to include <-jsonStats then it works fine.
The text was updated successfully, but these errors were encountered:
Hi
When i try to run the test it always fails because
readGauge
tries to read the value beforescrape
has completed and rune.up.Set(1)
. If i put atime.Sleep(1 * time.Second)
in the test just beforereadGauge
or changeCollect
to include<-jsonStats
then it works fine.The text was updated successfully, but these errors were encountered: