mirror of
https://github.com/go-kratos/kratos.git
synced 2025-03-17 21:07:54 +02:00
fix sample result
This commit is contained in:
parent
72193e3ef5
commit
ab4e2dafa9
@ -21,8 +21,8 @@ func TestProbabilitySampling(t *testing.T) {
|
||||
count++
|
||||
}
|
||||
}
|
||||
if count < 80 || count > 120 {
|
||||
t.Errorf("expect count between 80~120 get %d", count)
|
||||
if count < 60 || count > 120 {
|
||||
t.Errorf("expect count between 60~120 get %d", count)
|
||||
}
|
||||
})
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user