Compare commits

..

2 Commits

Author SHA1 Message Date
Shivanth MP a1ce2cece1
Merge 58d00f50d7 into 76b74e25d5 2024-11-22 09:40:13 +01:00
Ivan Goncharov 76b74e25d5
fix: add very small delay between observations to make test more realistic (and faster) (#1691) 2024-11-20 14:47:38 +01:00
1 changed files with 1 additions and 0 deletions

View File

@ -382,6 +382,7 @@ func TestHistogramAtomicObserve(t *testing.T) {
return return
default: default:
his.Observe(1) his.Observe(1)
time.Sleep(time.Nanosecond)
} }
} }
} }