satisy race detector
Onsi Fakhouri
2 years ago
221 | 221 | time.Sleep(10 * time.Millisecond) |
222 | 222 | }, gmeasure.SamplingConfig{N: 100, Duration: 100 * time.Millisecond, NumParallel: 3}) |
223 | 223 | |
224 | lock.Lock() | |
225 | defer lock.Unlock() | |
224 | 226 | Ω(len(indices)).Should(BeNumerically("~", 30, 10)) |
225 | 227 | Ω(indices).Should(ConsistOf(ints(len(indices)))) |
226 | 228 | }) |